From: Frederik Ramm Date: Mon, 24 Sep 2007 09:11:33 +0000 (+0000) Subject: added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly) X-Git-Tag: live~8089^2~14 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/06a3213acdaab8d321ecbc4f1af47b9907bb5649 added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly) --- diff --git a/db/migrate/008_remove_segments_helper.cc b/db/migrate/008_remove_segments_helper.cc index 8f9c25bd5..6b36ad4e9 100644 --- a/db/migrate/008_remove_segments_helper.cc +++ b/db/migrate/008_remove_segments_helper.cc @@ -467,8 +467,9 @@ static void mark_tagged_segs(struct data *d) { strcmp(k, "tiger:county") && strcmp(k, "tiger:upload_uuid") && strcmp(k, "converted_by") && + (strcmp(k, "width") || strcmp(v, "4")) && (strcmp(k, "natural") || strcmp(v, "coastline")) && - (strcmp(k, "source") || strcmp(v, "PGS"))) { + (strcmp(k, "source") || strncmp(v, "PGS", 3))) { interesting_tags.insert(make_pair(string(k), string(v))); } }