rinigus / osmscout-server

Maps server providing tiles, geocoder, and router
https://rinigus.github.io/osmscout-server
GNU General Public License v3.0
166 stars 28 forks source link

Incorrect altitude data #429

Closed RonnyB74 closed 1 year ago

RonnyB74 commented 1 year ago

I have noticed that some of the altitudes on the map are not correct. Enclosed are two screenshots:

Bildschirmfoto_20230625_001 Bildschirmfoto_20230629_001

Ronny

Karry commented 1 year ago

This bug report belongs to https://github.com/Karry/osmscout-sailfish obviously ;-)

Karry commented 1 year ago

Anyway, I changed elevation internal format from unsign integer to sign one recently. It is possible that I made some mistake in the code hanling old database format... Do you using recent map databases?

RonnyB74 commented 1 year ago

The map shown here (Europe/Alps) is from 13.05.2023.

Karry commented 1 year ago

Thank you for the report. I was able to reproduce this issue finally. It will be fixed in the next release: https://github.com/Karry/libosmscout/commit/fa239ccc693f60ab8910b718ce8de247c4416f63

Karry commented 1 year ago

New version with the fix was released on OpenRepos.

RonnyB74 commented 1 year ago

Sorry, I must have mixed things up when I posted the report.

The error has been corrected, thank you for that!

rinigus commented 1 year ago

Closing here :)