Skip to main content
Solved

GML to PDF

  • Aug 6, 2019 3:12 PM UTC
  • 1 reply
  • 86 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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • Best Answer
  • Aug 7, 2019 6:54 AM UTC

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: