[OSM-dev] OSM without segments - prototype

David Earl david at frankieandshadow.com
Thu Aug 16 17:32:19 BST 2007


On 16/08/2007 17:16, Gabriel Ebner wrote:
> Over the last few days I've developed working prototypes of the server code and
> JOSM that do away with segments and make ways simple lists of nodes.

I think this would speed quite a lot of things up and improve integrity. 
But I'm worried we might have a lot to clean up manually.

I think it would make a lot of sense to make this change at the same 
time as relationships/entities are introduced. Then we get only one hit 
on JOSM.

> Migration should cope with all sorts of ways in the current database, but it
> does not convert historical ways.  Obviously it also deletes all segments and
> their histories.

Would we lose anything vital in tags on existing segments?

What do you do about the many ways which, though deprecated, have 
disjoint sequences of segments and/or unordered sequences of segments? 
Do you end up with two ways where there was one (good) or do you 
effectively end up with a connection between the disjoint pieces (bad)?

> Things still missing (I'll do the porting should this proposal be adopted;
> except for Potlatch and the two controllers as I don't know that code):
>   - amf_controller.rb and swf_controller.rb
>   - osmarender
>   - osm2pgsql
>   - Potlatch
>   - JOSM plugins: validator, UtilsPlugin
>   - export tools (garmin, google earth, ....)

+ Namefinder. But I'm happy to do that - will simplify it and vastly 
speed up the planet processing I should think (ready for relationships 
to slow it down again :-))

David




More information about the dev mailing list