From: martin-s Date: Mon, 11 Jul 2011 17:23:45 +0000 (+0000) Subject: Fix:maptool:Disable generating spain index by boundary for now to avoid bloated tople... X-Git-Tag: navit-0.5.0.5194svn~566 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aee7c0d3ca8092da728f66c8464c078ce21abda4;p=profile%2Fivi%2Fnavit.git Fix:maptool:Disable generating spain index by boundary for now to avoid bloated toplevel tile git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4629 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/maptool/boundaries.c b/navit/navit/maptool/boundaries.c index 122b4c0..65d0561 100644 --- a/navit/navit/maptool/boundaries.c +++ b/navit/navit/maptool/boundaries.c @@ -72,7 +72,8 @@ process_boundaries_setup(FILE *boundaries, struct relations *relations) struct boundary *boundary=g_new0(struct boundary, 1); char *admin_level=osm_tag_value(ib, "admin_level"); char *iso=osm_tag_value(ib, "ISO3166-1"); - if (admin_level && !strcmp(admin_level, "2")) { + /* disable spain for now since it creates a too large index */ + if (admin_level && !strcmp(admin_level, "2") && (!iso || strcasecmp(iso,"es"))) { if (iso) { struct country_table *country=country_from_iso2(iso); if (!country)