opengisch / qgis-swiss-locator

Swiss Geoadmin layer and feature search for QGIS 3
https://www.opengis.ch/2024/06/25/swiss-locator-plugin-3-0-is-here-with-exciting-features/
GNU General Public License v3.0
13 stars 4 forks source link

Feature Request: zoom to coordinate feature #58

Closed celmi closed 4 months ago

celmi commented 1 year ago

Just an idea (because I intuitively thought that this would work): it would be nice if I could copy paste coordinates into the search window and this place would then be shown (especially such that are formatted in the typical swiss format, e.g. 2'672'787/1'252'535)

3nids commented 4 months ago

It is already implemented in the go native locator filter.

celmi commented 4 months ago

I'm sorry, I don't understand your answer. What is the go native locator filter?

3nids commented 4 months ago
image
celmi commented 4 months ago

ok, I'm getting it now, thanks! But this only works when coordinates are completely clean. This here 2'672'787 1'252'535 will not accepted, because it contains hyphens. I need to manually remove the hyphens first. Ironically, the swiss-locator dialogue then present's the same coordinates anew with hyphens go

I think in the typical use case where one / I would want to copy-paste coordinates from somehwere, those coordinates are formatted with hyphens for easier reading. It would be nice to be able to use the "go" locator with strings containig such formatted coordinates.

celmi commented 4 months ago

I guess the title of the feature request should be changed to "allow formatted strings for coordinate input" ?

3nids commented 4 months ago

this would be a feature request / bug report in QGIS. I suspect this is depending on the locale settings you're using, hyphens are not always used as thousand separators.