Re: [OSM-dev] shp2osm.pl

2009-09-30 Thread Frederik Ramm
Hi, Anthony wrote: In the longer term, I'd like to merge nodes throughout the entire file when they are duplicated in more than one polygon. Simply stuff every node you create into a hash the key of which is lat|lon, then retrieve the existing negative ID from that hash for new nodes if

Re: [OSM-dev] shp2osm.pl

2009-09-30 Thread Frederik Ramm
Hi, Ian Dees wrote: I've been hoping someone would strike up a conversation with me on a good algorithm to find and relation-ize overlapping boundary ways. I would love to implement this... I have recently explained how I'm currently doing this with PostGIS but nothing keeps you from using

Re: [OSM-dev] shp2osm.pl

2009-09-30 Thread Emilie Laffray
2009/9/30 Frederik Ramm frede...@remote.org Hi, Ian Dees wrote: I've been hoping someone would strike up a conversation with me on a good algorithm to find and relation-ize overlapping boundary ways. I would love to implement this... I have recently explained how I'm currently doing

[OSM-dev] shp2osm.pl

2009-09-29 Thread Anthony
Tobias (I am also CCing this to the OSM dev mailing list), I am using your shp2osm.pl script to convert a shapefile from my property appraiser's office. In the output, I'm getting nodes and ways that look like this: node id='-1' visible='true' lat='28.1728386606802' lon='-82.5595546812076' /

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Anthony
Sorry if this is a duplicate, sending using my other email address which is the one subscribed to the list... On Tue, Sep 29, 2009 at 6:00 PM, Peter Körner osm-li...@mazdermind.dewrote: Please, if you can, fix it! If you can, commit directly or post a patch otherwise! this is a major bug that

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Peter Körner
And I believe it has been suggested to use boundary relations rather than polygons in cases where there are a lot of overlapping boundaries. Yes, I'ts not good to have overlapping ways - they are a mess to edit and they can be constructed by relations, as well. Peter

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Ian Dees
On Tue, Sep 29, 2009 at 6:09 PM, Peter Körner osm-li...@mazdermind.dewrote: And I believe it has been suggested to use boundary relations rather than polygons in cases where there are a lot of overlapping boundaries. Yes, I'ts not good to have overlapping ways - they are a mess to edit

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Anthony
On Tue, Sep 29, 2009 at 7:35 PM, Ian Dees ian.d...@gmail.com wrote: On Tue, Sep 29, 2009 at 6:09 PM, Peter Körner osm-li...@mazdermind.dewrote: And I believe it has been suggested to use boundary relations rather than polygons in cases where there are a lot of overlapping boundaries.

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Ian Dees
On Tue, Sep 29, 2009 at 6:58 PM, Anthony o...@inbox.org wrote: On Tue, Sep 29, 2009 at 7:35 PM, Ian Dees ian.d...@gmail.com wrote: On Tue, Sep 29, 2009 at 6:09 PM, Peter Körner osm-li...@mazdermind.dewrote: And I believe it has been suggested to use boundary relations rather than

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Anthony
On Tue, Sep 29, 2009 at 8:34 PM, Ian Dees ian.d...@gmail.com wrote: On Tue, Sep 29, 2009 at 6:58 PM, Anthony o...@inbox.org wrote: Can we assume the shared ways use shared nodes? I was planning on making that assumption, because I believe it's true for the particular data I'm trying to

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Ian Dees
On Tue, Sep 29, 2009 at 8:01 PM, Anthony o...@inbox.org wrote: On Tue, Sep 29, 2009 at 8:34 PM, Ian Dees ian.d...@gmail.com wrote: On Tue, Sep 29, 2009 at 6:58 PM, Anthony o...@inbox.org wrote: Can we assume the shared ways use shared nodes? I was planning on making that assumption, because