Arjan,

I'm trying to convert a PDF with vector data into a shape with:

ogr2ogr test.shp Archeologische\ beleidskaart\ 2023.pdf  --config OGR_PDF_READ_NON_STRUCTURED YES

However, It gives the error: ERROR 1: Max token stack size reached

The sources are only converted partly, possibly because of this error. Might there be something wrong with my pdf source? Or can this be solved by setting some kind of config option when using the PDF driver?

This is likely an error/omission in pdfreadvectors.cpp itself. Parsing PDF is a complicated task. We'd need the PDF to further analyze

Even

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to