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

Users sometimes want to search for X,Y, not only Y,X #10720

Open
jidanni opened this issue Jan 31, 2025 · 6 comments · May be fixed by #10725
Open

Users sometimes want to search for X,Y, not only Y,X #10720

jidanni opened this issue Jan 31, 2025 · 6 comments · May be fixed by #10725
Labels
new contributor opportunity Best for first-time contributors without prior experience. You won’t be assigned; PRs welcome! usability An issue with ease-of-use or design

Comments

@jidanni
Copy link
Contributor

jidanni commented Jan 31, 2025

Sometimes the user only has a X,Y, not a Y,X,

Image

Well first of all, iD didn't realize that the user didn't enter 90 degrees.

Second of all, how about a little box that will show up "Flip X/Y? [ ]" when a pair of numbers is detected, to avoid the user needing to tediously cut and paste to make their X,Y into a Y,X, so iD can deal with it correctly.

By the way, in Google Maps we can right click and at the top of the menu we can copy
the rather precise
24.262050809434633, 121.00748362130905
but when we plug it into iD, well all we know is that that point lies in some vague area perhaps in the middle of our screen. No crosshairs, no thumbtack, no nothing.

@tyrasd
Copy link
Member

tyrasd commented Jan 31, 2025

No crosshairs

That was already discussed on multiple occasions, for example in #4218 and #6173.

@tyrasd
Copy link
Member

tyrasd commented Jan 31, 2025

Sometimes the user only has a X,Y, not a Y,X,

It is far more common to get coordinates in lat/lon rather than the other way around. As far as I know, lon/lat coordinates are mostly common in the context of geo file formats and similar technical applications. A user who got a X/Y coordinate (say from copying it out of a GeoJSON file) would likely know that the coordinates might need to be flipped and can do that quite easily.

On the other hand, a user who just copied a coordinate from a GPS tracker or website would likely be confused by the unexpected possibility to flip coordinates.

I think this is working fine as it is.

@tyrasd tyrasd closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
@tyrasd tyrasd added the wontfix-confusing This would be too confusing for users label Jan 31, 2025
@jidanni
Copy link
Contributor Author

jidanni commented Jan 31, 2025

Well in some countries it's just the opposite.

I was just thinking of a tiny checkbox that would appear when it is detected that the user had entered coordinates.

@tyrasd
Copy link
Member

tyrasd commented Jan 31, 2025

Ok, fair point.

I would however go with a solution in the style of how osm.org handles it: showing both coordinates (with the lat/lon variant first) when searching:

But only one option if any of the coord values

@tyrasd tyrasd reopened this Jan 31, 2025
@tyrasd tyrasd added usability An issue with ease-of-use or design new contributor opportunity Best for first-time contributors without prior experience. You won’t be assigned; PRs welcome! and removed wontfix-confusing This would be too confusing for users labels Jan 31, 2025
@draunger
Copy link
Contributor

I am interested in this..

@Deeptanshu-sankhwar
Copy link
Contributor

Thanks for sharing the issue @jidanni @tyrasd. Please checkout the above PR, I have enlisted both variations of lat/lon and lon/lat if the latitude is under the valid bounds of (-90 to 90), and only 1 variation otherwise. Below is a preview to capture the changes.
Thanks

Screen.Recording.2025-01-31.at.10.18.32.PM.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new contributor opportunity Best for first-time contributors without prior experience. You won’t be assigned; PRs welcome! usability An issue with ease-of-use or design
Projects
None yet
4 participants