[Talk-GB] Adding administrative boundaries to OSM Data Layer in JOSM
Andy Robinson
ajrlists at gmail.com
Fri Nov 11 11:46:14 GMT 2011
It would only appear as a coloured area if the rendering coloured it so. The
standard Mapnik output only puts a name on boundaries (not sure if it even
renders parish ones or not). There are no true area features in OSM, just a
selection of polylines (Ways) that end to end create one. For things like
boundaries some folks will group all the polyline items into a Relation so
that they have a container to keep all the split sections in. This isn't
vital though providing the boundary has the same tags on it all the way
around. One benefit of a relation though is that you can reuse sections of
boundary Way which are also part of some other boundary where they coincide.
This removes the need to create ways on top of ways (shared nodes).
For colouring of areas for your own needs a purpose rendering would be
needed.
Hope this is helpful. Other may have further suggestions as there is no hard
and fast method of achieving the same end.
Cheers
Andy
From: Bob Hawkins [mailto:bobhawkins at waitrose.com]
Sent: 11 November 2011 08:18
To: talk-gb at openstreetmap.org
Subject: [Talk-GB] Adding administrative boundaries to OSM Data Layer in
JOSM
I posted the following on the OSM Help Forum yesterday:
"I have selected civil parish boundaries from OS Boundary-Line for my area
of South Oxfordshire, converted them to WGS84 and created a .osm file. These
boundaries are polygons, yet the boundaries in OSM that I see are lines.
>From some articles I have read, I assume that the OS boundaries are merged
with the OSM Data Layer in JOSM and adjusted if necessary to join to
existing boundaries or deleted where they are coincident, but they are not
completely redrawn. How, then, is the apparent conversion from polygon to
line achieved?"
Frederik Ramm has replied, informing me to split ways. I had done that and
although the ways are split, the polygon still appears to retain its
qualities: moving the single way that was split still takes the adjacent
ways with it, and selecting any of the other ways still highlights the
polygon area. It does not revert to a series of lines, or polyline. Copying
the selection to a new layer, the boundary retains its infill, so I would
imagine that would display as a coloured area if it was uploaded to OSM.
Is there something I am missing here?
Bob Hawkins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20111111/63bd1372/attachment.html>
More information about the Talk-GB
mailing list