Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Circular Paths (in KML files) #149

Closed
wp99cp opened this issue Nov 18, 2022 · 0 comments · Fixed by #200
Closed

Add Support for Circular Paths (in KML files) #149

wp99cp opened this issue Nov 18, 2022 · 0 comments · Fixed by #200
Labels
backend enhancement New feature or request

Comments

@wp99cp
Copy link
Member

wp99cp commented Nov 18, 2022

On maps.geo.admin.ch, if you draw a circular path, the path gets saved differently:

<Polygon><outerBoundaryIs><LinearRing>
	<coordinates>...</coordinates>
</LinearRing></outerBoundaryIs></Polygon>

On the other hand, a linear path is saved as follows:

<Placemark><LineString>
	<coordinates>...</coordinates>
</LineString></Placemark>

Currently, our KML parser do not support circular paths.

An example of such a path can be found here: https://github.com/ckolin/marschzeittabelle/blob/main/samples/map_loop.kml

@wp99cp wp99cp added enhancement New feature or request backend labels Nov 18, 2022
@maede97 maede97 linked a pull request Oct 3, 2023 that will close this issue
@maede97 maede97 closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants