[josm-dev] barrier=gate as way

Martin Koppenhoefer dieterdreist at gmail.com
Mon Apr 23 11:41:24 BST 2012


Am 23. April 2012 12:01 schrieb Peteris Krisjanis <pecisk at gmail.com>:
> I would like to start to hack on JOSM with adding simple patch for
> highlighting barrier=gate as way. Currently drawing way and tagging it
> barrier=gate gives you almost invisible way.
>
> My initiative for tagging ways as gates is for really huge gates when
> doing micromapping.


+1, I agree that sometimes (or maybe everytime ;-) ) it would be
sensible to tag a gate on a way (never are they really a mathematical
"point"). When doing this I often asked myself, if I should tag the
intersection node of the highway with the barrier way as well as gate
(usually I did this to give current routers a chance).


> I have coded Java quite a lot, so just hints to where look at code would
> be enough.


AFAIK you don't have to change something in Java, it is sufficient to
enhance the mappaint style:
http://josm.openstreetmap.de/wiki/Styles
http://josm.openstreetmap.de/wiki/Help/Dialog/MapPaint

cheers,
Martin



More information about the josm-dev mailing list