[josm-dev] Function to select or download a sequence of ways?

Marko Mäkelä marko.makela at iki.fi
Tue Mar 9 09:07:29 GMT 2010


Before I start reinventing the wheel in JOSM, I would like to know if there
is a function or plugin that allows to select a non-branching sequence of
ways.  It would be nice if the selection function could optionally be
restricted to the current selection, just like the search dialog, and if
some predicates could be assigned to the ways, say, highway=tertiary or
natural=coastline, so that any branches where the predicate does not hold
would be ignored.

With such a selection function, it would be easy to select the coastline of
an area within a natural=coastline extract of the planet extract, or to select
a section of highway or railway for defining a route relation, for instance.

Last, some questions to help getting me started, in case this does not
exist yet.  Is the selection a core thing, or can this be done in a plugin?
Where should I start looking first?

As a further development, it could be useful to create a selective download
function (follow this way until reaching a branch or a given bounding box).

Best regards,

	Marko




More information about the josm-dev mailing list