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

Ian Dees ian.dees at gmail.com
Tue Dec 6 01:21:13 GMT 2011


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, Josh Doe <josh at joshdoe.com> 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 of
> way-merging? I did come across Frederik's merge-ways.pl script, but I
> didn't have much luck with it and it seems to be designed for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20111205/f708e0d4/attachment-0001.html>


More information about the dev mailing list