From 06a3213acdaab8d321ecbc4f1af47b9907bb5649 Mon Sep 17 00:00:00 2001 From: Frederik Ramm Date: Mon, 24 Sep 2007 09:11:33 +0000 Subject: [PATCH] added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly) --- db/migrate/008_remove_segments_helper.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))); } } -- 2.39.5