[openstreetmap/openstreetmap-website] Export feature sometimes produces large PDF files (Issue #4687)
kumakyoo
notifications at github.com
Fri Apr 12 16:06:11 UTC 2024
### URL
_No response_
### How to reproduce the issue?
_No response_
### Screenshot(s) or anything else?
When using "Share" on the right side of the OSM website, it's possible to export the visible area as PDF file. The generated PDF files are sometimes much larger than necessary, likely, because they sometimes include gigantic relations (e.g. bus routes). See [discussion in the german OSM forum](https://community.openstreetmap.org/t/pdf-dateigrosse-von-openstreetmap-org-stark-gewachsen/111516/7) for an example - the tiny red dot in the image there is the export region.
I tried to hunt this bug down and reached an end when the submittion is redirected to `https://render.openstreetmap.org/cgi-bin/export` in `export_controller.rb`. I couldn't figure out, where the source code of this cgi is. I guess not even in this repo, but maybe I just overlooked something.
I would appreciate if someone could point me to the source code, so I can continue the "hunting". :-)
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4687
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4687 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240412/9c63e348/attachment.htm>
More information about the rails-dev
mailing list