[OSM-talk] results

Christopher Schmidt crschmidt at crschmidt.net
Sun Jul 9 03:34:53 BST 2006


On Sun, Jul 09, 2006 at 01:45:27AM +0100, SteveC wrote:
> * all the segment and way code should now be super fast
> ** But, it can still be made perhaps twice as fast.
> * you should notice JOSM, osmeditor2 etc are much faster
> * areas are non-function at the moment
> * I didn't manage to get daily dumps working, its 0130 and I've been at
> it for most of the day so it'll have to wait for a few days :(
> 
> Any bugs, lemme know.

Posting edits to ways seems to reverse segments in the way.

http://www.openstreetmap.org/api/0.3/way/75
<osm version="0.3" generator="OpenStreetMap server">
  <way id="75" timestamp="2006-05-12 20:38:24">
    <seg id="152200"/>
    <seg id="152203"/>
    <seg id="152205"/>
    <seg id="152206"/>
    <seg id="152212"/>
    <seg id="152213"/>
    <seg id="152214"/>
    <seg id="399350"/>
    <seg id="2351144"/>
    <seg id="399351"/>

This is the result of:

<osm version="0.3" generator="Freemap Editing API"> <way id="75"> <tag
k='abutters' v='retail' /> <tag k='created_by' v='JOSM' /> <tag k='name'
v='High Road' /> <tag k='ref' v='A1000' /> <seg id="399351"/> <seg
id="2351144"/> <seg id="399350"/> <seg id="152214"/> <seg id="152213"/>
<seg id="152212"/> <seg id="152206"/> <seg id="152205"/> <seg
id="152203"/> <seg id="152200"/> </way></osm> 

Editing it again swaps it back around.

-- 
Christopher Schmidt
Web Developer




More information about the talk mailing list