]> git.openstreetmap.org Git - rails.git/commitdiff
added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly)
authorFrederik Ramm <frederik@remote.org>
Mon, 24 Sep 2007 09:11:33 +0000 (09:11 +0000)
committerFrederik Ramm <frederik@remote.org>
Mon, 24 Sep 2007 09:11:33 +0000 (09:11 +0000)
db/migrate/008_remove_segments_helper.cc

index 8f9c25bd59398e906db9f3f47dfc9f7d1bfad94f..6b36ad4e958bfbd1625843181acb21d27e934ecb 100644 (file)
@@ -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)));
       }
     }