On Nov 20, 2007 1:28 AM, Brent Easton <<a href="mailto:b.easton@exemail.com.au">b.easton@exemail.com.au</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am seeing inconsistent data being returned by OSMXAPI when doing lowzooms. Ways are referencing nodes that are not included in download. When you go an view the actual data, that node no longer exists. This seems to indicate that it is some sort of timing issue. The end result is that Batik crashes trying to render the lowzoom tiles.
<br></blockquote><div><br>Osmxapi *should* be consistent providing its sources are consistent.  I know planet.osm is not guaranteed to be consistent but I think that the planet diffs are supposed to be.  Brett can you confirm that?
<br><br>I ran a full consistency check on osmxapi just a couple of days ago.  At that point it seemed ok.  Brent, can you give me some example way Ids so that I can track down where the problem came from please?<br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Is this a known issue? I am presuming the planet.osm dump is inconsistent.<br><br>Where should we look at solving this problem :-
<br><br>1. Planet.osm dump is inconsistent, fix that?<br></blockquote><div><br>Osmxapi uses planet diff files so fixing planet.osm won't help much.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>2. Fix OSMXAPI to not emit nodes in ways that have not been included in the download file?</blockquote><div><br>It's intentional behaviour that if the ways references a non-existant node then the node will not be in the output, but the way will still contain the offending <nd> tag.  It didn't seem to make sense to remove it as the client cannot then detect that the way is incomplete.  The client should choose how to process such error situations, although this fact should be mentioned in the docs.
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>3. Have Osmarender ignore undefined nodes? Is this possible with XSLT?<br>
</blockquote><div><br>It used to be able to deal with missing nodes, but maybe this broke during the 0.4 to 0.5 migration.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Thanks,<br>Brent.<br><br><br><br><br>____________________________________________________________<br>Brent Easton<br>Analyst/Programmer<br>University of Western Sydney<br>Email: <a href="mailto:b.easton@uws.edu.au">b.easton@uws.edu.au
</a><br><br><br>_______________________________________________<br>Tilesathome mailing list<br><a href="mailto:Tilesathome@openstreetmap.org">Tilesathome@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome" target="_blank">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome</a><br></blockquote></div><br>