Re: [OSM-dev] Script to merge ways with identical tags

2011-12-06 Thread Josh Doe
2011/12/5 Josh Doe j...@joshdoe.com: On Dec 5, 2011 8:29 PM, Iván Sánchez Ortega i...@sanchezortega.es wrote: On Martes, 6 de Diciembre de 2011 02:21:13 Ian Dees escribió: I have some code in shp-to-osm that does glomming, but it's really not any smarter than storing all node locations in

[OSM-dev] Script to merge ways with identical tags

2011-12-05 Thread Josh Doe
I'm trying to convert a Shapefile of my county's streets to OSM (not for mass imports, trust me), but every street is broken at intersections so there are often dozens or more segments that should be joined. Anyone have scripts or code to perform this sort of way-merging? I did come across

Re: [OSM-dev] Script to merge ways with identical tags

2011-12-05 Thread Ian Dees
I have some code in shp-to-osm that does glomming, but it's really not any smarter than storing all node locations in memory and check for overlaps. I think ogr2osm does something similar. Neither are in a good position to help with an existing OSM file, though. On Mon, Dec 5, 2011 at 7:13 PM,

Re: [OSM-dev] Script to merge ways with identical tags

2011-12-05 Thread Iván Sánchez Ortega
On Martes, 6 de Diciembre de 2011 02:21:13 Ian Dees escribió: I have some code in shp-to-osm that does glomming, but it's really not any smarter than storing all node locations in memory and check for overlaps. I think ogr2osm does something similar. Yeah, ogr2osm splits linestrings into

Re: [OSM-dev] Script to merge ways with identical tags

2011-12-05 Thread Mike N
On 12/5/2011 8:13 PM, Josh Doe wrote: I'm trying to convert a Shapefile of my county's streets to OSM (not for mass imports, trust me), but every street is broken at intersections so there are often dozens or more segments that should be joined. Anyone have scripts or code to perform this sort