[josm-dev] function to find nodes next to a way

Dirk Stöcker openstreetmap at dstoecker.de
Mon Feb 18 13:25:35 GMT 2013


On Mon, 18 Feb 2013, Jo wrote:

> I would like to be able to find nodes with certain tags next to a way,
> within a few meters (configurable).
> I was thinking to draw a 'virtual' rectangle to one side of the way, but I
> don't know what function to use for this.

See http://josm.openstreetmap.de/doc/

Have a look at DataSet class (e.g. searchNodes() function).

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list