[gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread klo uo
Hi, I have vector data in PDF format, which I tried to georeference with org2ogr -gcp feature and output basic Shapefile, but program complains that it's unable to read the PDF file, which I confirm as valid by processing it with ghostscript. I then converted PDF to SVG and confirmed that SVG is

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 22:10:51, klo uo a écrit : > Hi, > > I have vector data in PDF format, which I tried to georeference with > org2ogr -gcp feature and output basic Shapefile, but program complains that > it's unable to read the PDF file, which I confirm as valid by processing it > with ghost

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 23:06:38, vous avez écrit : > Hi Even, > > thanks for your prompt reply. > > Could you please tell more about the PDF limitation. For example a way to > transform my PDF to the one that ogr2ogr would understand? > > I attached the test files. The PDF driver would require

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread klo uo
Ok, thanks for your confirmation. I'll go DXF route. In the meantime I found that by using pstoedit for conversion from PDF to DXF is the right choice. On Wed, May 28, 2014 at 11:34 PM, Even Rouault wrote: > Le mercredi 28 mai 2014 23:06:38, vous avez écrit : > > Hi Even, > > > > thanks for y

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-31 Thread klo uo
Hi, it turned out afterall that DXF is not such a great choice in my case. `pstoedit` is best tool for rapid conversion, but it does not respect polygons present in initial PDF files, but it just samples polygons to very small lines which is such bad outcome. Evan, or anybody else, can you please

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-06-01 Thread Even Rouault
Klo, > > it turned out afterall that DXF is not such a great choice in my case. > `pstoedit` is best tool for rapid conversion, but it does not respect > polygons present in initial PDF files, but it just samples polygons to very > small lines which is such bad outcome. > > Evan, or anybody else