From 7ecb7f764c1a3d337facf66d2dea50bf289ab85c Mon Sep 17 00:00:00 2001 From: geoghegan Date: Sun, 2 Jan 2011 23:13:49 +0000 Subject: [PATCH] Add:maptool: Adds the parsing of a different style of is_in tag as per ticket #717. This should mean more towns "appear" for people | Thanks korossa git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3852 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/maptool/osm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/navit/navit/maptool/osm.c b/navit/navit/maptool/osm.c index 9ab4234..a7feda8 100644 --- a/navit/navit/maptool/osm.c +++ b/navit/navit/maptool/osm.c @@ -1045,6 +1045,11 @@ osm_add_tag(char *k, char *v) attr_strings_save(attr_string_street_name_systematic, v); level=5; } + if (! strcmp(k,"openGeoDB:is_in")) { + if (!is_in_buffer[0]) + strcpy(is_in_buffer, v); + level=5; + } if (! strcmp(k,"is_in")) { if (!is_in_buffer[0]) strcpy(is_in_buffer, v); -- 2.7.4