Skip to content

Improved Stadt_Bern-Orthofotos-2023 polygon - #2964

Open
dafadllyn wants to merge 3 commits into
osmlab:gh-pagesfrom
dafadllyn:patch-1
Open

Improved Stadt_Bern-Orthofotos-2023 polygon#2964
dafadllyn wants to merge 3 commits into
osmlab:gh-pagesfrom
dafadllyn:patch-1

Conversation

@dafadllyn

Copy link
Copy Markdown

Improved the polygon of Stadt_Bern-Orthofotos-2023. (The previous polygon was much larger than the area covered by the aerial images, resulting in black backgrounds.)

@andrewharvey

Copy link
Copy Markdown
Collaborator

Thanks, our CI check is quite strict about the polygon winding, if you could fix that?

ERROR:root:sources/europe/ch/Stadt_Bern-Orthofotos-2023-WMTS.geojson ring orientation does not correspond to GeoJSON RFC7946
ERROR:root:sources/europe/ch/Stadt_Bern-Orthofotos-2023-WMTS.geojson please consider using corrected geometry: {"type": "Polygon", "coordinates": [[[7.4124, 46.92403], [7.47805, 46.92396], [7.47807, 46.93307], [7.50422, 46.93304], [7.50426, 46.95099], [7.4912, 46.951], [7.49125, 46.9781], [7.46493, 46.97813], [7.46497, 46.99603], [7.43859, 46.99605], [7.43855, 46.97816], [7.38613, 46.97821], [7.38611, 46.96905], [7.35985, 46.96908], [7.35983, 46.96007], [7.34669, 46.96009], [7.34667, 46.95097], [7.29424, 46.95102], [7.2942, 46.93291], [7.28123, 46.93292], [7.28119, 46.91504], [7.34662, 46.91497], [7.34664, 46.92401], [7.38608, 46.92398], [7.38606, 46.91512], [7.41239, 46.91509], [7.4124, 46.92403]]]}

Fixed direction of multi-polygon - now anticlockwise according to GeoJSON RFC 7946
@dafadllyn

Copy link
Copy Markdown
Author

Sorry, i missed this and i didn't know that the exterior ring must be anticlockwise. It should be correct now.

Reverted changes made by JOSM - the only change should affect the multi-polygon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants