logo separator

[mkgmap-dev] [locator] Country specific rules

From Carlos Dávila cdavilam at orangecorreo.es on Sun May 8 07:04:27 BST 2011

El 08/05/11 01:43, navmaps escribió:
>   Hi Carlos, I know this problem, because I live in a city where exactly
>   that is the case. The solution for that as has been applied in the
>   Netherlands and Belgium is to use a lower level boundary: in Belgium
>   admin_level 9 is used as the primary boundary, in the Netherlands
>   admin_level 10 is used as primary boundary (both before admin_level 8 is
>   used in the style files).
I had already thought about it, but according to wiki [1] both 9 and 10 
levels are below the needed one. It would be necessary a new level 
between 8 and 9 for that purpose. Perhaps a discussion on talk-es is to 
be taken.
[1] http://wiki.openstreetmap.org/wiki/Key:admin_level#admin_level (spain)
>   Cheers, Johan
>
>   On Sat, 07 May 2011 23:25:03 +0200, Carlos Dávila
>   <cdavilam at orangecorreo.es>  wrote:
>> El 06/05/11 17:41, Carlos Dávila escribió:
>>> El 05/05/11 00:50, navmaps escribió:
>>>>     Hi Carlos, it's my experience that skipping is_in, addr: and
>>>> openGeoDB
>>>>     works best for the Garmin index. What you'll then see is that
>>>> some OSM
>>>>     boundaries need to be improved. But getting that done will
>>>> create a
>>>>     perfectly working index (except for adresses, but it's always
>>>> nice to
>>>>     have some wishes for the future :-) )
>>> Thank you for the information, I'll try your suggestion. Last week I
>>> spent quite a lot of time improving boundaries, so I hope I can
>>> currently get good results.
>> You were right, with the rules below I get rid of most wrong
>> State/Province in search dialog. I would keep is_in:city and
>> addr:city
>> because there may be more than one city/village/hamlet within an
>> admin_level=8 boundary (municipalities) and they may help get the
>> right
>> place.
>>
>> mkgmap:country!=*&  mkgmap:admin_level2=* { set
>> mkgmap:country='${mkgmap:admin_level2}' }
>>
>> mkgmap:region!=*&  mkgmap:admin_level6=* { set
>> mkgmap:region='${mkgmap:admin_level6}' }
>> mkgmap:region!=*&  mkgmap:admin_level5=* { set
>> mkgmap:region='${mkgmap:admin_level5}' }
>> mkgmap:region!=*&  mkgmap:admin_level4=* { set
>> mkgmap:region='${mkgmap:admin_level4}' }
>> mkgmap:region!=*&  mkgmap:admin_level3=* { set
>> mkgmap:region='${mkgmap:admin_level3}' }
>>
>> mkgmap:city!=*&  is_in:city=* { set mkgmap:city='${is_in:city}' }
>> mkgmap:city!=*&  addr:city=* { set mkgmap:city='${addr:city}' }
>> mkgmap:city!=*&  mkgmap:admin_level8=* { set
>> mkgmap:city='${mkgmap:admin_level8}' }
>> mkgmap:city!=*&  mkgmap:admin_level7=* { set
>> mkgmap:city='${mkgmap:admin_level7}' }
>> mkgmap:city!=*&  mkgmap:admin_level9=* { set
>> mkgmap:city='${mkgmap:admin_level9}' }
>> mkgmap:city!=*&  mkgmap:admin_level10=* { set
>> mkgmap:city='${mkgmap:admin_level10}' }
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


-- 
Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx
Instale OpenOffice desde http://es.openoffice.org/programa/index.html
OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal.
OpenOffice está en continuo desarrollo y no tendrá que pagar por las nuevas versiones.




More information about the mkgmap-dev mailing list