[gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers
klo uo
klonuo at gmail.com
Sat May 31 15:45:06 PDT 2014
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 link me to SVG DTD that ogr2ogr would
understand?
The link provided here: http://www.gdal.org/drv_svg.html is dead, and on
their (cloudmade) web portal I can find any information about their custom
SVG format.
I also assume there is no tool that can make initial PDF valid for ogr2ogr.
Thanks,
Klo
On Thu, May 29, 2014 at 12:24 AM, klo uo <klonuo at gmail.com> wrote:
> 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 <
> even.rouault at mines-paris.org> wrote:
>
>> 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 some enhancements to support that kind of
>> file.
>> Basically it currently only supports files that have a layered
>> organization,
>> whereas yours is "flat". From a quick analysis, I'd say it would require
>> modest
>> effort to support that file.
>>
>> --
>> Geospatial professional services
>> http://even.rouault.free.fr/services.html
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140601/2f9c8e40/attachment.html>
More information about the gdal-dev
mailing list