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

Smoothing Elevation Data optained form GPX file #151

Open
wp99cp opened this issue Nov 18, 2022 · 0 comments
Open

Smoothing Elevation Data optained form GPX file #151

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

Comments

@wp99cp
Copy link
Member

wp99cp commented Nov 18, 2022

We should smooth the elevation data obtained from the GPX file/elevation server to remove outliers. Alternatively, we can drop them during the parsing process (if there are some nearby points in the path). In the worst case, we could fix the error by refetching the elevation of individual points.

There are at least two tours with such an Issue. One of which can be found here: https://github.com/ckolin/marschzeittabelle/blob/main/samples/app_extralong.gpx

The other one is of @maede97 throw the Tösstal.

<trkpt lat="46.7732856112" lon="10.4163604006">
	<ele>1863.8</ele>
	<extensions>
		<swisstopo:routepoint_id>1076989589</swisstopo:routepoint_id>
	</extensions>
</trkpt>
<trkpt lat="46.7737814192" lon="10.4154706754">
	<ele>46.8</ele>
	<extensions>
		<swisstopo:routepoint_id>805781812</swisstopo:routepoint_id>
	</extensions>
</trkpt>
<trkpt lat="46.7739153331" lon="10.4148229627">
	<ele>1820.8</ele>
	<extensions>
		<swisstopo:routepoint_id>678327115</swisstopo:routepoint_id>
	</extensions>
</trkpt>
@wp99cp wp99cp added enhancement New feature or request backend labels Nov 18, 2022
wp99cp added a commit that referenced this issue Nov 18, 2022
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

No branches or pull requests

1 participant