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

Josh Doe josh at joshdoe.com
Tue Dec 6 02:15:19 GMT 2011


On Dec 5, 2011 8:29 PM, "Iván Sánchez Ortega" <ivan at 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 memory and check for
> > overlaps. I think ogr2osm does something similar.
>
> Yeah, ogr2osm splits linestrings into tagged segments, then loops through
> segment endpoints, checking if any segments have the same tags, etc etc
etc.

ogr2osm is what I'm using, however it doesn't seem to be doing this for the
files I've used. Does it only work in certain conditions? I'll take a look
at the implementation later.

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20111205/563459d1/attachment.html>


More information about the dev mailing list