<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto">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 <a href="https://community.openstreetmap.org/t/pdf-dateigrosse-von-openstreetmap-org-stark-gewachsen/111516/7" rel="nofollow">discussion in the german OSM forum</a> for an example - the tiny red dot in the image there is the export region.</p>
<p dir="auto">I tried to hunt this bug down and reached an end when the submittion is redirected to <code class="notranslate">https://render.openstreetmap.org/cgi-bin/export</code> in <code class="notranslate">export_controller.rb</code>. 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.</p>
<p dir="auto">I would appreciate if someone could point me to the source code, so I can continue the "hunting". :-)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4687">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPWJ7AFUUKKDZN7YXLY5AA7HAVCNFSM6AAAAABGEMWOSCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DANBVGMYTIMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPLUGTBOMY5W6PHVHTY5AA7HA5CNFSM6AAAAABGEMWOSCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHILCU2CQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4687</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4687",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4687",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>