Re: [OSM-dev] shp2multipolygon

2011-07-05 Thread Ian Dees
shp-to-osm was written specifically for this purpose. It won't handle any shapefile merging tasks but it will convert shapefiles to OSM format (including multipolygon relations) for you.___ dev mailing list dev@openstreetmap.org http://lists.openstreetm

Re: [OSM-dev] shp2multipolygon

2011-07-05 Thread John Smith
On 30 June 2011 23:28, André Riedel wrote: > There is a python program programm named ogr2osm > > http://wiki.openstreetmap.org/wiki/Ogr2osm Does anyone know how to fix this to deal with multipolygon areas? I think ogr deals with them find, but ogr2osm doesn't. _

Re: [OSM-dev] shp2multipolygon

2011-07-01 Thread John Smith
On 1 July 2011 11:24, Ian wrote: > Use a GIS program that talks shapefiles (like QGIS) to merge the data into > one shapefile and convert that one. OSM conversion tools aren't designed to > do any of that work. I finally figured out a way, bit of an ugly hack to make it work, but at the end of th

Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread John Smith
On 1 July 2011 11:24, Ian wrote: > On Thursday, June 30, 2011 8:41:31 AM UTC-5, John Smith wrote: >> My problem is I'm trying to merge 2 shp files into a single >> multipolygon osm file. > > Use a GIS program that talks shapefiles (like QGIS) to merge the data into > one shapefile and convert that

Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread Ian
On Thursday, June 30, 2011 8:41:31 AM UTC-5, John Smith wrote: > > On 30 June 2011 23:28, André Riedel wrote: > > There is a python program programm named ogr2osm > > > > http://wiki.openstreetmap.org/wiki/Ogr2osm > > > > It does exactly what you want. > > My problem is I'm trying to merge 2 shp f

Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread Ian Dees
I wrote my java shp-to-osm specifically to deal with multipolygons. Give it a try ands see if it does shat you want. On Jun 30, 2011 8:24 AM, "Anthony" wrote: > Does anyone have code to do shapefile to multipolygon (in > .osm/.pbf/.o5c format)? What I want is to take a shapefile with > overlapping

Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread John Smith
On 30 June 2011 23:28, André Riedel wrote: > There is a python program programm named ogr2osm > > http://wiki.openstreetmap.org/wiki/Ogr2osm > > It does exactly what you want. My problem is I'm trying to merge 2 shp files into a single multipolygon osm file. >From these 2 files: http://www.abs.

Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread André Riedel
There is a python program programm named ogr2osm http://wiki.openstreetmap.org/wiki/Ogr2osm It does exactly what you want. Ciao André 2011/6/30 Anthony : > Does anyone have code to do shapefile to multipolygon (in > .osm/.pbf/.o5c format)?  What I want is to take a shapefile with > overlapping

[OSM-dev] shp2multipolygon

2011-06-30 Thread Anthony
Does anyone have code to do shapefile to multipolygon (in .osm/.pbf/.o5c format)? What I want is to take a shapefile with overlapping boundaries (e.g. http://wiki.sharedmap.org/wiki/File:Qgis.png) and convert it into a bunch of multipolygons with shared ways. I used to have code to do this: http: