<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Alexandre,<br><br>I don't have much time to analyse your data today.<br>I think splitter assumes that the tile boundaries <br>are <br>"multiples of 0x200 map units wide and high"<br>when you use resolution=15.<br><br>Since you use keep-complete=false you have to watch<br>the overlap value.<br>You can use a larger overlap value like 10000 to fix this problem.<br><br>Gerd<br><br><br><div><hr id="stopSpelling">Date: Fri, 29 May 2015 22:04:34 -0300<br>From: alexandre.loss@gmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: [mkgmap-dev] Splitter problem: losing a track segment<br><br><div dir="ltr">Hi guys,<div><br></div><div>I'm facing a problem in one of my maps, that is probably might be happening in other places where I didn't see yet.<br></div><div>The problem can be seen in the figure below taken from MapSource. There is a gap in a track on the border of the tiles:<br></div><div><br></div><div><div><img src="cid:ii_14da1fd23aa9cf4e" alt="Imagem inline 2" width="215" height="215"><br></div></div><div><br></div><div>So I started to analyze the problem step-by-step till find that the problem was generated by Splitter (last version).<br></div><div><br></div><div>To simplify your analysis, I edited my .osm file before running Splitter and remove all objects (nodes, lines, poi, etc.) not related to the problem, leaving only the line where the problem happens.&nbsp;The result was the file "93352150-Ribeirao_Preto.osm" attached, containing only this:<br></div><div><br></div><div><div><font face="monospace, monospace">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</font></div><div><font face="monospace, monospace">&lt;osm version="0.6" generator="TSuite 6.6.0.4"&gt;</font></div><div><font face="monospace, monospace">&lt;!-- === POLYLINE ROTEAVEL - INICIO: SP-255 DANIELLE ======================== --&gt;<br></font></div><div><font face="monospace, monospace">&nbsp;<font color="#ff0000">&lt;node id="576" lat="-21.9388623" lon="-48.3347007" visible="true" version="1"/&gt;</font></font></div><div><font face="monospace, monospace">&nbsp;&lt;node id="805" lat="-21.8877920" lon="-48.2932640" visible="true" version="1"/&gt;</font></div><div><font face="monospace, monospace">&nbsp;&lt;node id="806" lat="-21.8674906" lon="-48.2767485" visible="true" version="1"/&gt;</font></div><div><font face="monospace, monospace">&nbsp;&lt;node id="804" lat="-21.8661147" lon="-48.2756044" visible="true" version="1"/&gt;</font></div><div><font face="monospace, monospace">&nbsp;&lt;way id="803" visible="true" version="1"&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;nd ref="576"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;nd ref="805"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;nd ref="806"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;nd ref="804"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;tag k="highway" v="trunk"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;tag k="name" v="SP-255 DANIELLE"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;tag k="ref" v="SP-255"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;tag k="addr:city" v="BOA ESPERANÇA DO SUL"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;tag k="addr:state" v="SP"/&gt;</font></div><div><font face="monospace, monospace">&nbsp; &lt;tag k="addr:country" v="Brasil"/&gt;</font></div><div><font face="monospace, monospace">&nbsp;&lt;/way&gt;</font></div><div><font face="monospace, monospace">&lt;!-- === POLYLINE ROTEAVEL - FIM: SP-255 DANIELLE ======================== --&gt;</font></div><div><font face="monospace, monospace">&lt;/osm&gt;</font><br></div></div><div><br></div><div>Then I ran Splitter on this file and the result was the file "93352150.osm" (attached and compacted), whose content are the lines bellow:<br></div><div><br></div><div><div><font face="monospace, monospace">&lt;?xml version='1.0' encoding='UTF-8'?&gt;</font></div><div><font face="monospace, monospace">&lt;osm version='0.5' generator='splitter' upload='false'&gt;</font></div><div><font face="monospace, monospace">&lt;bounds minlat='-21.895751953125' minlon='-50.262451171875' maxlat='-20.401611328125' maxlon='-47.548828125'/&gt;</font></div><div><font face="monospace, monospace">&lt;node id='805' lat='-21.8877920' lon='-48.2932640'/&gt;</font></div><div><font face="monospace, monospace">&lt;node id='806' lat='-21.8674906' lon='-48.2767485'/&gt;</font></div><div><font face="monospace, monospace">&lt;node id='804' lat='-21.8661147' lon='-48.2756044'/&gt;</font></div><div><font face="monospace, monospace">&lt;way id='803'&gt;</font></div><div><font face="monospace, monospace">&lt;nd ref='576'/&gt;</font></div><div><font face="monospace, monospace">&lt;nd ref='805'/&gt;</font></div><div><font face="monospace, monospace">&lt;nd ref='806'/&gt;</font></div><div><font face="monospace, monospace">&lt;nd ref='804'/&gt;</font></div><div><font face="monospace, monospace">&lt;tag k='highway' v='trunk'/&gt;</font></div><div><font face="monospace, monospace">&lt;tag k='name' v='SP-255 DANIELLE'/&gt;</font></div><div><font face="monospace, monospace">&lt;tag k='ref' v='SP-255'/&gt;</font></div><div><font face="monospace, monospace">&lt;tag k='addr:city' v='BOA ESPERANÇA DO SUL'/&gt;</font></div><div><font face="monospace, monospace">&lt;tag k='addr:state' v='SP'/&gt;</font></div><div><font face="monospace, monospace">&lt;tag k='addr:country' v='Brasil'/&gt;</font></div><div><font face="monospace, monospace">&lt;/way&gt;</font></div><div><font face="monospace, monospace">&lt;/osm&gt;</font></div></div><div><br></div><div>Note that in the "93352150.osm" file is missing the node 576 definition (i.e.: <font color="#ff0000" face="monospace, monospace">&lt;node id="576" lat="-21.9388623" lon="-48.3347007" visible="true" version="1"/&gt;</font>).<br></div><div>And this is the cause of the lost segment.</div><div><br></div><div>I'm running Splitter in the following way:</div><div><br></div><div><div><font face="monospace, monospace">java -jar splitter.jar&nbsp;</font><span style="font-family:monospace,monospace;">--split-file=93352150-Ribeirao_Preto.list</span><span style="font-family:monospace,monospace;">&nbsp;</span><span style="font-family:monospace,monospace;">--max-areas=1024&nbsp;</span><span style="font-family:monospace,monospace;">--mixed=true&nbsp;</span><span style="font-family:monospace,monospace;">--keep-complete=false&nbsp;</span><span style="font-family:monospace,monospace;">--resolution=15&nbsp;</span><span style="font-family:monospace,monospace;">--output=xml&nbsp;93352150-Ribeirao_Preto.osm</span></div></div><div><br></div><div>The above .list file is attached.</div><div><br></div><div>If this is not a Splitter error, please, let me know what I'm doing wrong.</div><div><br></div><div>Thanks.</div><div><br></div><div>Alexandre</div><div><br></div></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>