<p></p>
<p dir="auto">The discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2362473283" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4910" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/4910/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/4910">#4910</a> highlights an important point: since the db function only returns the size, the bounding box size calculation needs to be implemented twice now. In case there are some changes (like the discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2362473283" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4910" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/4910/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/4910">#4910</a> hints towards), we would have to change it in Rails and CGImap.</p>
<p dir="auto">Initially, i thought it might be a good idea to simply pass some combination of user_id, min_lat, min_lon, max_lat, max_lon bbox values as a parameter to the database function, and let it figure out the rest.</p>
<p dir="auto">Any chance we could adjust the db function in this way?</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/pull/4908#issuecomment-2179241245">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPGCA6FPE5SL4HOCUTZIHAFFAVCNFSM6AAAAABJRPCN6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGI2DCMRUGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMN5Y2QD72UL736ZBDZIHAFFA5CNFSM6AAAAABJRPCN6OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUB4SKR2.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/pull/4908/c2179241245</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/pull/4908#issuecomment-2179241245",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4908#issuecomment-2179241245",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>