X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0f91ad89663fbadca007b1c4dce03f9a76ad0e5f..06a3213acdaab8d321ecbc4f1af47b9907bb5649:/db/migrate/008_remove_segments_helper.cc 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))); } }