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

Geocoding gives different results with or without whitespace #11433

Closed
anne-gropler opened this issue Jul 27, 2023 · 1 comment · Fixed by #11435
Closed

Geocoding gives different results with or without whitespace #11433

anne-gropler opened this issue Jul 27, 2023 · 1 comment · Fixed by #11435

Comments

@anne-gropler
Copy link
Contributor

Sandcastle example: no code added to sandcastle, version 1.107.1

Browser: Chrome

Operating System: Windows

When using the geosearch, I noticed that using a whitespace after the comma creates different results. E.g., 52, 13 and 52,13. It seems that the comma influences whether those values are interpreted as latitude-longitude or longitude-latitude. See gif below.

I'd expect that such a small detail wouldn't matter, or at least that it's documented, e.g., the suggestions list 52,13 (long, lat) and 52, 13 (lat, long). Or instead maybe "N, E"./"E, N".

castlelatlong

@ggetz
Copy link
Contributor

ggetz commented Jul 28, 2023

Hi @anne-gropler, thanks for the report. This is due to conflicting suggestions from Cesium ion's geocoder service and CesiumJS's internal CartographicGeocoderService. Since Cesium ion's geocoder service supports latitude and longitude pairs directly, we'll remove the redundant CartographicGeocoderService by default in #11435.

This issue was closed.
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 a pull request may close this issue.

2 participants