Skip to main content
Solved

GML to PDF

  • August 6, 2019
  • 1 reply
  • 28 views

Hi all, i was wondering if it is possible to convert a gml file into a pdf? or convert the gml file into an image and place that image in a pdf? Thankyou

Best answer by sigtill

I would suggest using MapnikRasterizer to convert from Vector to Raster - there you can also set colors, styles etc per layer.

Depending if the GML-file is large or not you can also write directly to PDF as Vector and do the styling on the vector by using the PDFStyler and style each layer/feature_type different:

 

View original
Did this help you find an answer to your question?

1 reply

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • Best Answer
  • August 7, 2019

I would suggest using MapnikRasterizer to convert from Vector to Raster - there you can also set colors, styles etc per layer.

Depending if the GML-file is large or not you can also write directly to PDF as Vector and do the styling on the vector by using the PDFStyler and style each layer/feature_type different:

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings