mapfish-print icon indicating copy to clipboard operation
mapfish-print copied to clipboard

Add support for Mapbox vector tiles and styling

Open gberaudo opened this issue 8 years ago • 5 comments

There is currently strong interest in Mabox vector tiles. To stay relevant we should consider adding support for MVT to the print.

Jira issue in geotools: https://osgeo-org.atlassian.net/browse/GEOT-5626

Actual state in geotools:

  • https://github.com/geotools/geotools/pulls?q=is%3Apr+mapbox+is%3Aclosed

gberaudo avatar Feb 05 '18 16:02 gberaudo

Any news on this one?

ipasic avatar Dec 07 '18 14:12 ipasic

Pull request welcome :-)

sbrunner avatar Dec 07 '18 14:12 sbrunner

Has support for Vector Tile services (like ESRI community basemaps) been added to Mapfish print?

reed-tom avatar May 04 '23 19:05 reed-tom

Not for the moment...

sbrunner avatar May 05 '23 06:05 sbrunner

An alternative is to render MVT layers client side and send them to the print so that they can be composed with the other layers. The good points of this solution is that:

  • we get the same rendering as in the client side (same supported features, same look and feel);
  • client side styling is supported out-of the box (dynamic custom style, OL style functions, ...);
  • greatly reduced maintainance (MVT rendering implemented only once).

To achieve that I created a small low level library https://github.com/geoblocks/print/ that handles the rendering part. Then the images are sent to Map Fish Print has a "static image". Contact me for examples of integration.

gberaudo avatar Jul 12 '23 09:07 gberaudo