logo separator

[mkgmap-dev] [locator] Separate boundary files

From Minko ligfietser at online.nl on Sun May 1 09:43:06 BST 2011

I narrowed down one problem, that when the locator did find a match between a street and a place the GPS couldn't find a location. This only works if I skip the mkgmap:country and region lines in the style file, the GPS now can locate the streets that are found under the placenames.

mkgmap:city!=* & openGeoDB:name=* { set mkgmap:city='${openGeoDB:name}' } 
mkgmap:city!=* & is_in:city=* { set mkgmap:city='${is_in:city}' }
mkgmap:city!=* & addr:city=* { set mkgmap:city='${addr:city}' }
mkgmap:city!=* & mkgmap:admin_level10=* { set mkgmap:city='${mkgmap:admin_level10}' } 
mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' } 
mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } 
mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' } 

This leaves some issues and adds some more:
-Locator r1930 still cannot locate a lot of streets (locator r1915 could maybe find 90% locator 1930 maybe 50%).
-Countries and regions are not set

One other thing I noticed, that under the place name Breda (relation=297129) only the streets could be found that were lying in one bounds section:
bounds_2400000_200000.bnd (Streets in breda not found, but relation 297129 is found in this file)
bounds_2350000_200000.bnd (streets found)

http://www.openstreetmap.org/?lat=51.4901&lon=4.7498&zoom=14&layers=M&relation=297129



----- Oorspronkelijk bericht -----
I wrote:


I'm sorry, it didnt work either. 

In short, 
a) entering a placename NEVER gives a matching location (tested on a nüvi)
b) skipping the placename, roughly 50% of the streetnames have matching places and a location can be found.

tested this on two tiles:

10010037: 2394112,225280 to 2410496,241664
#       : 51.372070,4.833984 to 51.723633,5.185547

10010049: 2390016,204800 to 2410496,225280
#       : 51.284180,4.394531 to 51.723633,4.833984

Another tile had better results (all streets seemed to have corresponding places) but on the GPS searching via placenames didnt work either.

mkgmap settings:

family-id: 30010
product-id: 1
draw-priority: 20
description: ofm_test
country-name: BNL
country-abbr: 
#style-file: Styles (custom on or off didnt seem to have any effect)
generate-sea: extend-sea-sectors,close-gaps=6000,floodblocker,land-tag=natural=background
#createboundsfile: c:\downloads\europe-boundaries.osm
boundsdirectory:  c:\downloads\bounds
latin1
code-page: 1252
location-autofill: 0
show-profiles=1
ignore-maxspeeds
remove-short-arcs
merge-lines
add-pois-to-areas
min-size-polygon: 4
preserve-element-order
keep-going
net
route
index
nsis
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list