[OSM-dev] OSM without segments - prototype

michael_j at email.de michael_j at email.de
Sun Aug 19 00:01:23 BST 2007


These are good news. As these changes significantly impact the current API, I have setup a new page on the wiki to document and to discuss the changed API. I'd call it OSM Protocol Version 0.5.

http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5

Michael

PS:
Removal of the segments should reduce the traffic sufficiently. As the API gets now slimmer some functionality might now be moved from the editor to the database. This should further reduce the traffic and also reduce the editor complexity. 
Particularly I consider splitting and merging ways might be useful to be handled at the server. 

E.g.:
- Spliting ways:
   + SplitWayRequest (WayID-A, NodeID-A, NodeID-B) 
   + SplitWayResponse (WayIDofPartA, WayIDofPartB)

- Joining ways or closing one way:
  + JoinWaysRequest (WaysID-A, NodeID-A, WayID-B, NodeID-B)
  + JoinWaysResponse (WayIDofJointWay)

> On Fri, Aug 17, 2007 at 12:41:10PM +0000, Gabriel Ebner wrote:
> > I have a migration script in the works that will convert unwayed segments and
> > tagged segments to 2-node-long ways, but it takes an order of magnitude longer
> > than the old one.  Damn, I'll have to rewrite it in C.
> 
> I've rewritten it in C++ now (I got tired of handling linked lists in C) and
> the whole migration process takes less than 2 and a half hours now.
> 
>   Gabriel.
> 
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
> 






More information about the dev mailing list