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] How to use osmosis as a lib with direct access to the classes?

2011-06-30 Thread Ian
Take a look at the code for my XAPI servlet: https://github.com/iandees/xapi-servlet/blob/master/src/main/java/com/yellowbkpk/geo/xapi/servlet/XapiServlet.java There's a lot of HTTP and XAPI-related stuff in there, but the Osmosis classes are there: Line 130 and the "makeRequestIterator()" metho

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:

Re: [OSM-dev] Mapnik2 in Tirex?

2011-06-30 Thread M∡rtin Koppenhoefer
2011/6/29 Peter Körner : > I think this should help getting the renderer running without tirex: > there seems to be a problem: test works fine: $ ./backend-test.sh tirex-backend-test[13545]: Renderer started (name=test)