node-gdal icon indicating copy to clipboard operation
node-gdal copied to clipboard

Can I use the node-gdal to create pdfs with gdal?

Open Charmatzis opened this issue 8 years ago • 2 comments

Hi, One question, I have searched the internet and I found with gdal_translate can be created pdfs from raster datasets and also gdal_translate is utility and not a native component of gdal. Is there a way to create pdfs with node-gdal?

THX!!!!

Charmatzis avatar Jun 24 '16 09:06 Charmatzis

You could iterate gdal.drivers and check if PDF shows up. If not, PDF support is not compiled into the version you are using.

https://github.com/naturalatlas/node-gdal#bundled-drivers

wilhelmberg avatar Jun 24 '16 11:06 wilhelmberg

No, it doesn't show up PDF. I must use another way to print pdf through node.js....

Charmatzis avatar Jun 24 '16 11:06 Charmatzis