Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

JSON print: WYSIWG #4661

Open
davidoesch opened this issue Dec 14, 2018 · 5 comments
Open

JSON print: WYSIWG #4661

davidoesch opened this issue Dec 14, 2018 · 5 comments

Comments

@davidoesch
Copy link
Contributor

reproduce

print
https://s.geo.admin.ch/7ed819e7b6
result:

PDF representation does not correspond to screen style

@procrastinatio
Copy link
Contributor

The very old MF print server 2 has a more than limited support for vector data. Label features like halo, shadow, boxes are not supported.

@davidoesch
Copy link
Contributor Author

Mfprint v3 would solve this?

@procrastinatio
Copy link
Contributor

Per definition, all MapFsih print are not WYSIWIG because it has its own rasterizing engine, based on what is passed to it. The mapfish print protocol is based on Openlayers 2 JSON style, which does not support label boxes. I guess, it could be expanded.

Use Ctrl+P is not too bad (especially in landscape mode)

@davidoesch
Copy link
Contributor Author

effort to expand this? since we

  • json datasets are now quite common
  • vt tiles printing will have the same issues

we could crowdsource mf print or --again lok for alternatives of mf-print

@procrastinatio
Copy link
Contributor

As already stated, it is not optimal to serialize again a vector layer, to send it to a server. only to be rendered again/rasterize to generate a PDF. Browsers and WebGL are more efficient for rendering, up to a limit (resolution, raster layer, pdf type), but again, it depends what is important. If you want PDF 1/A, as mentioned a few time, you have to do it on a server with a $$$ library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants