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

Javascript - Vor und zurück rechnen ergeben nicht die Selber Koordinaten. #12

Open
SilvanFux opened this issue Oct 5, 2020 · 1 comment

Comments

@SilvanFux
Copy link

`Swisstopo.CHtoWGS( 
	Swisstopo.WGStoCH( 46.62020426357958, 7.688498497009278 )[0],
	Swisstopo.WGStoCH( 46.62020426357958, 7.688498497009278 )[1]
)`
// > (2) [7.688497435357657, 46.62020000875965]

Die Koordinaten verschieben sich nach jedem vor und zurück rechnen etwas.

@MarcelWaldvogel
Copy link

Die Umrechnungen sind nur Approximationen, auf 1-2 m genau. Für genaue Umrechnungen brauchst du die (z.T. kostenpflichtigen) Tools von SwissTopo. In e37f25e mache ich aus diesem Grund (für Python) übrigens absichtlich eine Rundung auf ~1 m, da die Outputs unrealistisch genau sind.

Deine Beispieloutputs oben sind z.B. auf Zehntel-Nanometer "genau", was nicht wirklich Sinn macht, wenn die Näherungsformel sowieso nur auf 1-2 m genau ist..

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

No branches or pull requests

2 participants