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

Apollinaris Schoell aschoell at gmail.com
Tue Mar 9 15:21:26 GMT 2010


Marko,

XAPI does exactly what you need. insert your bounding box ...

wget http://www.informationfreeway.org/api/0.6/way\[natural=coastline\]\[bbox=…\] -O coastline.osm

On 9 Mar 2010, at 1:59 , Marko Mäkelä wrote:

> Hi Karl,
> 
> thank you for your helpful reply.
> 
>>> 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).
>> ... except for this function which sounds like what the waydownloader 
>> plugin provides.
> 
> Great, I will have to check it.  It could be a useful starting point
> for my work.
> 
> One more question: is there a function that would extend the current
> selection to the given direction?  For example, if I have selected a
> coastline, add all islands west of the selection to the selection.
> In that way, I would see if there are any natural=coastline objects
> in the mainland.  Or one could use such a function when producing a map
> of a city or suburb and wanted to delete all objects outside the borders.
> (Yes, I know that Osmosis could do such things, but a GUI could be nicer.)
> 
> 	Marko
> 
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev





More information about the josm-dev mailing list