[OSM-dev] Contest for the best UI: Howto enter ways in the applet?
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Fri Feb 24 10:03:42 GMT 2006
>I think the applet is going to need a major overhaul to deal with
>'ways.' I know osm-editor has some support for the sort of thing we'll
>need, so it might be best to use the offline editors as proving
>grounds before altering the applet. The introduction of 'ways' would
>also be best accompanied by a good method to set the attributes of the
>way; naming etc.
The old osmeditor did this by default, it created one big "way" of the
whole of the GPS track which the user could then partition into multi-node
segments (i.e. streets). The reason for this was that it fitted the model
of Freemap's internal database quite well; Freemap's internal database had
nodes and multi-node segments (streets) but no segment type.
To make osmeditor fit better with OSM, I re-wrote it as osmeditor2 which
has a segment/node model. Hence for the moment, the functionality has been
removed from osmeditor2 (which follows the current OSM model of nodes and
segments).
>From the point of view of osmeditor, I can envisage that the best way would
be to define a 'street' or 'way' by selecting two nodes and finding a path
between them, but this would involve having to do a search which would
obviously be rather inefficient.
Perhaps the best way instead would be to create your streets as you create
your segments. i.e. you add your segments then when you want to start a new
street you select "New street" and subsequent segments will be added to a
street. However to add new segments to an existing street I would envisage
selecting the street by selecting its nodes, or perhaps segments.
In many ways I feel the best model is of nodes and multi-node segments, the
Freemap internal model. Any thoughts on this?
Nick
_______________________________________________
dev mailing list
dev at openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
More information about the dev
mailing list