2

I have a georeferenced PDF published by the USFS. It appears to have been created using Esri ArcMap, and all of the labels and linework appears to be in vector format.

Is there any way to convert this to a vector mbtiles or shapefile so that it can be used in a web map and remain sharp? I have successfully been able to convert it to a rasterized mbtiles file, but this isn't great as you don't get the full quality of the vector PDF at high zoom levels. I don't want layers, I don't care if the (currently selectable) label text gets converted to outlines. I just want a nice, sharp vector representation of my GeoPDF to show up in mapbox-gl-js.

1

I'm hesitant to answer this because I've never had the pleasure of working with a GeoPDF, but it's possible to use GDAL/OGR to convert from a GeoPDF to something more sensible.

ogr2ogr -f sqlite out.sqlite in.pdf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.