I’m trying to customize Garmin map created by mkgmap using modified mkgmap default style (some points added and zoom levels are redefined). I’m lost trying to figure out why some points are appearing on the map on zoom levels, on which I think these points should not be present - these points are appearing on a less detailed maps, even when I’m using resolution 24. I’ve used 3 different mkgmap versions: stable (r1188), r1466, r1473 and the result is always the same. mapedit from http://www.geopainting.com/en/ seems to show points on generated maps correctly, my Garmin device not. I’m using Garmin Legend HCx, latest update. Extracts from config files:
Have you tried using resolution instead of level in your style file:
amenity=bench [0x004a resolution 24]
highway=bus_stop [0x2f08 resolution 18]
Garmin GPS units often have their own ideas about what resolutions certain things will appear at, no matter what you stipulate in your style file.
Things are further complicated by the fact that you can alter the detail of the map. Each extra degree of detail you select “moves” everything up one zoom level. Declutter option also affects this, as does the setting where you can decide the minimum zoom level at which POIs occur. But of course these latter settings should affect both POI types equally.
I have used the range of 16nn 19nn and 1bnn, they seem to have normal behavier.
You can change the ID of the bench, if this Point makes the problem.
Since you would like to have the bus_stop in your POI-Liste, changing this ID will be no option.
Some IDs like 67nn are show very early and also 1dnn has some special behavier.
Just try to change the ID-Group.
Yes, I’ve tried both, and I’ve tried resolution before trying levels.
I have used pure mkgmap without any generated .typ files. I thought that it is probably device itself, which is interpreting settings differently from the mapsource or mapedit.
Anyways, my idea was to show almost all the points on the map (for mapping purposes), but define particular zoom levels for all these points (for overview while travelling). For example - museums and bus stops should appear on less detailed zoom levels with proper Icons, and benches, barriers on a more detailed map zoom levels. Some of the POIs which appears on an unwanted zoom levels are the ones from the default style and were unmodified, but I assume there is no 100% reliable spec for the behaviour of all POIs available. And all POI definitions I has added to the default style are shown incorrectly. I’m aware of the sf.net project with the spec for the .img format, probably reverse engineered information, but I haven’t went through it, to much details for me at this time.
I have used following options to generate the map, if this can help: