/// <summary> /// Deletes the relation with the given id. /// </summary> public static void DeleteRelation(this ISnapshotDb db, long id) { db.Delete(new OsmGeoKey() { Id = id, Type = OsmGeoType.Relation }); }
/// <summary> /// Deletes the way with the given id. /// </summary> public static void DeleteWay(this ISnapshotDb db, long id) { db.Delete(new OsmGeoKey() { Id = id, Type = OsmGeoType.Way }); }
/// <summary> /// Deletes the relation with the given id. /// </summary> public static void DeleteRelation(this ISnapshotDb db, long id) { db.Delete(new OsmGeoKey(OsmGeoType.Relation, id)); }
/// <summary> /// Deletes the way with the given id. /// </summary> public static void DeleteWay(this ISnapshotDb db, long id) { db.Delete(new OsmGeoKey(OsmGeoType.Way, id)); }
/// <summary> /// Deletes the node with the given id. /// </summary> public static void DeleteNode(this ISnapshotDb db, long id) { db.Delete(new OsmGeoKey(OsmGeoType.Node, id)); }
/// <summary> /// Deletes the object for the given key. /// </summary> public static void Delete(this ISnapshotDb db, OsmGeoKey key) { db.Delete(new OsmGeoKey[] { key }); }