[OSM-talk] ways and the java applet

Lars Aronsson lars at aronsson.se
Thu Jun 1 00:08:20 BST 2006


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".



-- 
  Lars Aronsson (lars at aronsson.se)
  Aronsson Datateknik - http://aronsson.se




More information about the talk mailing list