On 25/07/13 14:09, GerdP wrote:
> Hi Paul,
>
> please try to describe what you mean with
> "node and way id's in the order of 1,000,000,000,000,000,000 are what is
> causing the error"
>
> Is it a special id that triggers the error?
>
> Gerd
>
So........the following simplified input would cause a crash
<?xml version="1.0" encoding="utf-8"?>
<osm version="0.6" generator="news">
<node id="1000000000000000000" lat="46.100416666666668"
lon="3.39375" />
<node id="1000000000000000001" lat="46.100288461538462"
lon="3.3929166666666668" />
<node id="1000000000000000002" lat="46.1003125"
lon="3.3920833333333333" />
<node id="1000000000000000003" lat="46.10008333333333" lon="3.39125" />
<node id="1000000000000000004" lat="46.099895833333335"
lon="3.3904166666666669" />
<way id="1000000000000000000">
<nd ref="1000000000000000000" />
<nd ref="1000000000000000001" />
<nd ref="1000000000000000002" />
<nd ref="1000000000000000003" />
<nd ref="1000000000000000004" />
<nd ref="1000000000000000000" />
<tag k="ele" v="300" />
<tag k="contour" v="elevation" />
</way>
</osm>
Whereas the following would be ok
<?xml version="1.0" encoding="utf-8"?>
<osm version="0.6" generator="news">
<node id="1000000000" lat="46.100416666666668" lon="3.39375" />
<node id="1000000001" lat="46.100288461538462"
lon="3.3929166666666668" />
<node id="1000000002" lat="46.1003125" lon="3.3920833333333333" />
<node id="1000000003" lat="46.10008333333333" lon="3.39125" />
<node id="1000000004" lat="46.099895833333335"
lon="3.3904166666666669" />
<way id="1000000000">
<nd ref="1000000000" />
<nd ref="1000000001" />
<nd ref="1000000002" />
<nd ref="1000000003" />
<nd ref="1000000004" />
<nd ref="1000000000" />
<tag k="ele" v="300" />
<tag k="contour" v="elevation" />
</way>
</osm>
Thanks
Paul
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev