[mkgmap-dev] Distinguishing cycleways from footways and minor pathsFrom Felix Hartmann extremecarver at gmail.com on Fri Feb 4 21:44:20 GMT 2011
On 04.02.2011 18:10, Marko Mäkelä wrote: > On Fri, Feb 04, 2011 at 03:38:56PM +0100, Minko wrote: >> In the typ file you can't define what kind of road it is in the TYP file, >> if both roads are set to the same 0x07 type. So there you can only set the label >> to cycleway/service road and see what the navigation does. >> >> It's sad that the newer Garmin's only can display >> a very limited number of line types without a typ file, but there is another alternative: >> How about working with overlays? >> >> line style file: >> >> highway=cycleway [0x070d] >> highway=service [0x070e] >> >> overlay style file: >> >> 0x070d: 0x07, 0x0d >> 0x070e: 0x07, 0x0e >> >> Routing will be fine, because Garmin only uses 0x07 >> Without a typ file, GPS unit and Mapsource show only 0x07 because 0x0d / 0x0e are invisible > Without a typ file, the Edge 705 ought to show a black line (0x0d or > 0x0e) overlaid with the dashed brown line (0x07). > >> If you are working WITH a typ file and the default style, this option >> does offer the possibility to >> set a label or colour to 0x0d and 0x0e > Yes, that would make sense when using a TYP file. > >> Speaking of invisble lines, this is also working for bridges: >> >> (bridge=yes | bridge=true | bridge=viaduct) [0x2b resolution 23 continue with_actions] >> >> Without a typ file, bridges are not visible, just the highway. >> With a typ file, type 0x2b can be made visible with the highway. > I got another idea: What if we create a default-typ style based on the > default style, similar to the marine style? It would define overlays for > bridges, tunnels, oneways and such. The prerequisite for this would be a > TYP file that can be distributed with mkgmap (with an appropriate > license and some maintainer). The default-typ style would only contain > the tweaks; most definitions would still be in the default style. > > Best regards, > > Marko > _______________________________________________ > Without typfile lines are not automatically and in all Mapsource / GPS versions invisible or not to distinguish. I would not include invisible (without assigning them invisible by using a typfile) roads into the default style. BTW: the points file resolutions should be drastically reduced. I would basically reduce all but cities to 24. Then maybe put some into 23 and look if there is a need for any (and that they are shown as well, else it is just wasted space) POI except cities in 22 from a general usepoint.
- Previous message: [mkgmap-dev] Distinguishing cycleways from footways and minor paths
- Next message: [mkgmap-dev] Distinguishing cycleways from footways and minor paths
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list