Allow lon keyword as an alternative for longitude #1994

Open
opened 2026-02-20 01:04:02 -05:00 by deekerman · 4 comments
Owner

Originally created by @khaytsus on GitHub (Dec 31, 2023).

Describe what problem this solves and why this would be valuable to many users
In almost every context I've ever seen, the short way to say latitude longitude is lat lon. So every time I search in PhotoPrism I always wind up trying lat:NN lon:NN and it doesn't work. Could lon be added as a secondary search token? Not suggesting changing lng, just adding a secondary way to do it.

Describe the solution you'd like
Just allow lon:NNN as a way to search by longitude.

Originally created by @khaytsus on GitHub (Dec 31, 2023). **Describe what problem this solves and why this would be valuable to many users** In almost every context I've ever seen, the short way to say latitude longitude is lat lon. So every time I search in PhotoPrism I always wind up trying lat:NN lon:NN and it doesn't work. Could lon be added as a secondary search token? Not suggesting changing lng, just adding a secondary way to do it. **Describe the solution you'd like** Just allow lon:NNN as a way to search by longitude.
Author
Owner

@lastzero commented on GitHub (Dec 31, 2023):

The search filter to use for longitude is lng, see the following overview:

@lastzero commented on GitHub (Dec 31, 2023): The search filter to use for longitude is `lng`, see the following overview: - https://www.photoprism.app/kb/search-filters
Author
Owner

@khaytsus commented on GitHub (Dec 31, 2023):

The search filter to use for longitude is lng, see the following overview:

Well, yes, I'm aware :) Which is why I mentioned "lng" several times.

@khaytsus commented on GitHub (Dec 31, 2023): > The search filter to use for longitude is `lng`, see the following overview: > > * https://www.photoprism.app/kb/search-filters Well, yes, I'm aware :) Which is why I mentioned "lng" several times.
Author
Owner

@lastzero commented on GitHub (Dec 31, 2023):

Oh, I just read "an alternative for longitude" and then thought you also tried "lng". I think if we have both, that could be confusing too, at least if it's officially documented...

@lastzero commented on GitHub (Dec 31, 2023): Oh, I just read "an alternative for longitude" and then thought you *also* tried "lng". I think if we have both, that could be confusing too, at least if it's officially documented...
Author
Owner

@lastzero commented on GitHub (Dec 31, 2023):

Note that we want to have some kind of autocomplete for the search filters at some point, but we haven't had time to implement that ourselves yet, and no one else has contributed it either. Supporting all possible variants of filter names is a workaround we'd like to avoid.

@lastzero commented on GitHub (Dec 31, 2023): Note that we want to have some kind of autocomplete for the search filters at some point, but we haven't had time to implement that ourselves yet, and no one else has contributed it either. Supporting all possible variants of filter names is a workaround we'd like to avoid.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#1994
No description provided.