[OSM-newbies] How about sanity checks
Iván Sánchez Ortega
ivansanchez at escomposlinux.org
Mon Jul 30 19:40:01 BST 2007
El Monday 30 July 2007 18:45:10 escribió:
> Ivan,
>
> That was what I needed. Thanks so much. Now I have another question.
>
> The validator is telling me that I have crossing ways. In this situation,
> they need to cross but are not connected. One road is an overpass to
> another. How do I show that in JOSM?
I think you mean having a bridge or a tunnel (please correct me if you mean
eny other thing).
To tag something as a bridge:
bridge=true
layer=1
To tag something as a tunnel:
tunnel=true
layer=-1
If you have a bridge over a bridge, it should become layer=2. If you should
ever have a bridge over a bridge over a bridge, layer=3. The same goes for
tunnels.
AFAIK, the validator plugin checks for overlapping segments that share the
same layer= value, so putting things on different layers eliminates that
problem.
By the way: if you have tunnels or bridges, make sure they do not cross in a
node, or else the routing algorithms will get everyhing wrong. If you have a
crossing, do make them cross in a node so routing algorithms get the crossing
right.
Cheers,
--
Iván Sánchez Ortega <ivansanchez at escomposlinux.org>
More information about the newbies
mailing list