[josm-dev] Find bus stops along a way

Jo winfixit at gmail.com
Thu Nov 8 06:14:55 GMT 2012


Hi,

I want to find all bus stops along a side of the road. So I'm looking for
functions in JOSM to:

Define a rectangle a few meters to one side of the (section of a) road.
Get all nodes within this rectangle as a list.

or:

Define a polygon with the way as one of its sides and a parallel way x
meters away as another side.
Get all nodes within this polygon as a list.

I've been browsing through the source code, but I can't seem to find
suitable functions to accomplish this.

Jo


More information about the josm-dev mailing list