Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Alisson Barbosa
Can anybody help me? 2012/11/23 Alisson Barbosa alisson.u...@gmail.com Hi friends, I would like to transform a shape with multilinestring in a shape with polygons using ogr2ogr. Polygon to multilinestring, I use: ogr2ogr -f ESRI Shapefile -overwrite C:/Users/Alisson/Basins3.shp

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Hugo Benicio
I'm facing a similar problem when trying to convert a shapefile containing lines to a shapefile containing polygons. No progress. If you solve it, please, let me know! Thanks in advance. On Mon, Nov 26, 2012 at 8:47 AM, Alisson Barbosa alisson.u...@gmail.comwrote: Can anybody help me?

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Jukka Rahkonen
Hugo Benicio hbobenicio at gmail.com writes: I'm facing a similar problem when trying to convert a shapefile containing lines to a shapefile containing polygons. No progress. If you solve it, please, let me know! Thanks in advance. Hi, Converting polygons into lines and lines into

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Peter Halls
Alisson, Hugo, I think a reason for the lack of response is that the operation you need is a tad more involved than is supported by ogr2ogr - which performs simple geometrical operations but is really designed to perform format translations. To go from a spaghetti of lines to polygons

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Alisson Barbosa
I want a command line tool to do the same thing that Feature to Polygon of ArcGIS or Polygonizer plugin of Quantum GIS does. Is there any tool for this? 2012/11/26 Peter Halls p.ha...@york.ac.uk Alisson, Hugo, I think a reason for the lack of response is that the operation you need is a

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Joaquim Luis
GMT5 has a tool called gmtstitch that could perhaps help doing the job, but I never played enough with it to be more positive about its capacities. Joaquim I want a command line tool to do the same thing that Feature to Polygon of ArcGIS or Polygonizer plugin of Quantum GIS does. Is there

[gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-23 Thread Alisson Barbosa
Hi friends, I would like to transform a shape with multilinestring in a shape with polygons using ogr2ogr. Polygon to multilinestring, I use: ogr2ogr -f ESRI Shapefile -overwrite C:/Users/Alisson/Basins3.shp C:/Users/Alisson/Basins2.shp -sql SELECT * FROM Basins2 -skipfailures -nlt