[mkgmap-dev] [PATCH v1] Decide in style file if a way is closed automatically
From Josef Latt Josef.Latt at gmx.net on Fri Oct 26 16:55:51 BST 2012
Am 26.10.2012 17:07, schrieb Minko: > Wanmil wrote: >> Yes, the patch prints out the results for *all* ways with log level >> SEVERE. This should enable you to check manually which rules are used >> for which way. >> "Use line rules only..." means that only the lines style file is used >> for this way. >> "Use both rules for..." means that the lines plus the polygon style >> file >> is used. > > Ok, I have runned the patch on a Benelux extract with only waterways now. > In the log file I see only SEVERE (StyledConverter): splitter\map.osm: Use line rules only for WAY: > There are no lines saying "Use both rules for..." altough there are some waterways that are converted as polygon. > So the interesting ways are seemed to filtered out of these warnings and that is not what you have intended? > > >> So your line rules will be: >> waterway=canal & natural!=water & mkgmap:autoclosing!=true [0x1f >> resolution 23 continue] >> waterway=canal & natural!=water & mkgmap:autoclosing=true [0x1f >> resolution 23] > > > Thanks, that seem to work too. The other way worked as well: > > Lines: > waterway=canal & natural!=water [0x1f resolution 23 continue] > > Polygons: > waterway=canal & mkgmap:autoclosing=false & natural!=water [0x3c resolution 23] You should consider that many canal areas have the tag waterway=riverbank, or is this not relevant. This tag is false because there is stagnant water.
- Previous message: [mkgmap-dev] [PATCH v1] Decide in style file if a way is closed automatically
- Next message: [mkgmap-dev] [PATCH v1] Decide in style file if a way is closed automatically
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list