Geographic Information Systems Asked by raygun80 on February 17, 2021
Our application uses OpenLayers+PostGIS to visualize and process millions of spatial data files (GeoJSON).
We have a requirement to be able to export the processed final data as PDF/GeoPDF Vector maps.
Every solution, including the official OL example, first converts the OL canvas to a raster, then converts the image to PDF using something like jspdf. The raster conversion completely destroys the vector data, making the final PDF unusable for professional purposes (lines are pixelated, labels are blurred) (example below)
Is there a method that *preserves the Vector points/lines/labels in the map by skipping the raster conversion? Example: maps exported from AutoCAD/ArcGIS/QGIS have perfect, infinitely zoomable vector pdfs.
I’ve looked far and low for this, but couldn’t find an answer, except for using ‘gdal_translate’, which seems cumbersome and poorly documented for programmatic usage.
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP