[Talk-us] Relations for Long Ways

Minh Nguyen mxn at 1ec5.org
Thu Nov 6 02:34:46 GMT 2008


Ian Dees wrote:
> 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).
Wouldn't grouping them make adding relations later pretty unwieldy? I'm 
picturing Potlatch's relations dialog box and the huge menu that it'd 
have to display.
> How would the renderers handle this do you think? The only downside to 
> #1 is the possibility of some huge ways.
>
> -Ian
-- 
Minh Nguyen <mxn at zoomtown.com>
AIM: trycom2000; Jabber: mxn at 1ec5.org; Blog: http://notes.1ec5.org/





More information about the Talk-us mailing list