[OSM-talk] ways and the java applet
Christopher Schmidt
crschmidt at crschmidt.net
Thu Jun 1 00:19:59 BST 2006
On Thu, Jun 01, 2006 at 01:08:20AM +0200, Lars Aronsson wrote:
>
> I'm trying out the new "ways" functionality in the java applet.
> After I have added a large number of line segments to a way,
> perhaps 20 km or so (100 or 200 segments?), it suddenly becomes
> impossible to add more segments. Is there some maximum length of
> API calls?
>
> >From the java applet I cannot see the ID number for this way, but
> the java console tells me this is <way id='1630601'>, and that it
> has 151 line segments after which it ends like this:
>
> <seg id='58749' />
> <seg id='58750' />
> <seg id='58751' />
> <seg id='587' />
> <tag k='name' v='Riksväg 32' />
> <tag k='class' v='primary' />
> </way>
> </osm>
>
> The last '587' indeed looks as if something was truncated on the
> byte level. That's really not a "graceful degradation".
Huh. that explains one of the problems I'm having with the OSM dump:
there is a "Federal Highway" in Australia that was linked to segment
id="70" -- but the other segments were in the 70,000s, so this seems
like it could definitely be the problem. (The way in question has been
changed now, so it no longer demonstrates the problem.)
This isn't really helpful, but I did want to throw in that it seems it
likely isn't just you who's had this problem.
--
Christopher Schmidt
Web Developer
More information about the talk
mailing list