]> git.street.me.uk Git - andy/viking.git/commitdiff
Add Church as a Wikipedia waypoint feature type.
authorRob Norris <rw_norris@hotmail.com>
Mon, 20 Feb 2017 21:59:21 +0000 (21:59 +0000)
committerRob Norris <rw_norris@hotmail.com>
Sat, 25 Feb 2017 17:25:27 +0000 (17:25 +0000)
src/geonamessearch.c

index 9ee698c2e5dd7f8cf1eda30ae8fdb22ee116d5b9..bfb965fecbd455cf11d14e385703418f5c7074e6 100644 (file)
@@ -482,6 +482,8 @@ void a_geonames_wikipedia_box ( VikWindow *vw, VikTrwLayer *vtl, struct LatLon m
         vik_waypoint_set_symbol(wiki_wp, "summit");
       if ( !strcmp (wiki_geoname->feature, "forest") || !strcmp (wiki_geoname->feature, _("forest")))
         vik_waypoint_set_symbol(wiki_wp, "forest");
+      if ( !strcmp (wiki_geoname->feature, "church") || !strcmp (wiki_geoname->feature, _("church")))
+        vik_waypoint_set_symbol(wiki_wp, "church");
     }
     vik_trw_layer_filein_add_waypoint ( vtl, wiki_geoname->name, wiki_wp );
     wp_runner = g_list_next(wp_runner);