splitter and multipolygon

Hi all, when the splitter split a multipolygon composed by more than one outer member (example: http://www.openstreetmap.org/browse/way/51237752 ), the result is incorrect. Is there any way to fix them? -- * Matteo Gottardi | matgott@tin.it * ICQ UIN 20381372 * Linux - the choice of a GNU generation * GPG Fingerprint: * B9EE 108F 52C8 D50C B667 B1F2 AB56 8A01 BA3D 36A1

Hi all, when the splitter split a multipolygon composed by more than one outer member (example: http://www.openstreetmap.org/browse/way/51237752 ), the result is incorrect. Is there any way to fix them?
Hi Matteo, what do you mean by "the result is incorrect"? Do you have some warnings in the mkgmap logfile? WanMil

In data martedì 02 marzo 2010 18:50:16, WanMil ha scritto:
Hi Matteo,
what do you mean by "the result is incorrect"? Do you have some warnings in the mkgmap logfile?
You can see a screenshot of the correct and the wrong results here: http://www.gomatteo.net/without_splitter.jpg http://www.gomatteo.net/with_splitter.jpg The relation that cause problems is here: http://www.openstreetmap.org/browse/relation/417674 The log seem ok to me, you can find it at http://www.gomatteo.net/mkgmap.log I generated the map from a dump (italy.osm.bz2, downloaded from http://download.geofabrik.de/osm/europe/italy.osm.bz2 ), using: bzcat italy.osm.bz2 | osmosis --read-xml enableDateParsing=no file=/dev/stdin --bounding-box top=47 left=10 bottom=45 right=13 --write-xml file=mappa.osm java -ea -Xmx3000m -jar splitter.jar --cache=cache --mixed mappa.osm java -Xmx3000M -jar mkgmap.jar -c teo_map -c template.args teo_map contains: add-pois-to-areas latin1 reduce-point-density=7 merge-lines style-file=/home/matteo/opt/gis/teo_style/ overview-mapname=teo series-name=teo tdbfile route If I process the output of osmosis (mappa.osm) without splitting, the result is correct. I'm using mkgmap svn 1593 and splitter r105. If I should do some other test, or put the wrong map online, just ask. Thank you, and please excuse my bad english :) -- * Matteo Gottardi | matgott@tin.it * ICQ UIN 20381372 * Linux - the choice of a GNU generation * GPG Fingerprint: * B9EE 108F 52C8 D50C B667 B1F2 AB56 8A01 BA3D 36A1

In data martedì 02 marzo 2010 18:50:16, WanMil ha scritto:
what do you mean by "the result is incorrect"? Do you have some warnings in the mkgmap logfile?
With the patch "mp_closeways_outbbox_v2" the result is correct, thank you :) -- * Matteo Gottardi | matgott@tin.it * ICQ UIN 20381372 * Linux - the choice of a GNU generation * GPG Fingerprint: * B9EE 108F 52C8 D50C B667 B1F2 AB56 8A01 BA3D 36A1
participants (2)
-
Matteo Gottardi
-
WanMil