[Talk-us] Relations for Long Ways
Ian Dees
ian.dees at gmail.com
Thu Nov 6 00:31:48 GMT 2008
Hi List,
I'm thinking about how to convert the Tiger shapefiles over to OSM. One of
the issues I'm thinking about is how to convert all the edges (road
segments, etc.) in the Tiger data to ways. There are two ways that I can
think of:
1. Each edge that is meant to be a part of a larger way of some sort shares
a particular id number. I could look through all the edges, grouping them
together by this ID. When two edges meet at a point, one of those points
would be removed and one larger way would be created with both sets of
nodes. This is what the previous shape to OSM converters have done.
2. I could create one way for each edge and then group them together with a
relation. No one does this right now. It would create lots and lots of extra
data (ways, nodes, tags, and relations).
How would the renderers handle this do you think? The only downside to #1 is
the possibility of some huge ways.
-Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20081105/cde64be1/attachment.html>
More information about the Talk-us
mailing list