-
@herr-b If you search for "Coop" by name, then the best is to have "Coop, city" in search. Coop is rather frequent, you may have to specify a bit more. But try the city version first.
10 results could be Photon limit for calls.
Nearby function allows you to search by type (cafe, shop, ...). As mentioned above by me and in the referred issues, that part will have to be refined in the application to allow you to enter Coop as a name in that search as well.
-
If I enter "Coop, city" I get the result for the city only, but not the POI "Coop" in the city.
For me a typical use is to search for the nearest shopping center if I am travelling, regardless in which city. If I can't get any result by category, then I enter known names of shopping malls. Entering the name in the nearby search is ok, the best would be to have it in one search function.
-
@herr-b, that sounds like a bug of the search engine - Photon (assuming that you use online profile and default settings). If you could provide me an example with some city, I will try to reproduce it. If you wish, feel free to send it by email (my email is in the authors file of pure maps repo)
-
Yes I use Photon and online Profile and the Search (not the nearby venues). I entered "Coop, Grimentz". I tested with some different cities and it could be possible that it only works, if the city tag of the POI inOSM is filled out. Yesterday I added the opening hours to this POI in OSM and noticed, that the adress is empty. I suppose the missing city tag is the problem for this specific search result.
But I found the POI now with the nearby venues function, choosing the type Shop & Service gives the correct result!
I think the "Nearby Venues" function is not intuitive enough:
- Is it possible to make the preselection of the type with "All Types" as standard? Now I see just the word "Type" and not even a pulldown field, only a white area. Just by tapping accidently the white area shows the pulldown.
- The "Near" field is standard "current position", I would prefere here the actual map position, because without GPS reception it is not possible to start the search. I often search indoors and then it is difficult to start the search. I also often search on different positions then the current position, then you could center the map on the desired position and search nearby the map position?
- It is not so clear to start the search with the little grey icon in the upper right corner. It is also not always clear, if it is grey or black. There would be enough space for a big green button "Start Search" or similar? And in case it is waiting for GPS reception the colour red and a comment "Waiting for GPS reception ..." or similar?
-
Thank you for specific example!
In the Coop case, we have "Coop, Route de Moiry, Avoin, Anniviers, Sierre, Valais/Wallis, 3961, Switzerland". As you could see, there is no Grimentz in hierarchy and that's why it is not found.
Although, search at OSM is more clever and finds it nicely: https://www.openstreetmap.org/search?query=Coop%2C Grimentz#map=19/46.17513/7.57365
Why Avoin is used, no idea. Both Grimentz and Avoin are both nodes, Grimentz closer though. In general, you don't have to tag city or other address components. But that requires that villages are given with the borders, not just nodes. Search engines try to guess, as in the case of this Coop, but sometimes guess wrong.
I have added your suggestions at https://github.com/rinigus/pure-maps/issues/402
Some notes:
-
reference location can be set to any address or bookmarked POI. Just click on it.
-
tiny grey icons on top right. I don't have UT experience and, on the basis of API, it sounded like that is where you folks look for actions. In SFOS, we have pulley menu. In Kirigami (Plasma Mobile), those buttons are also right top and, if space allows, have text next to it. Would be great to know what is expected at UT and which API I should use for it. If it is done wrong as it is now, I'll be happy to correct.
Bonus feature that I wrote for longer trips: if you use Pure Maps offline with OSM Scout Server and have a route calculated, you could search for POIs in Nearby search along the route. It may take longer time, but would be still faster than doing it manually by moving a map and trying to hit the shops/cafes.
-
-
PS: While testing with OSM Scout Server: "coop anniviers" finds the correct one. And that makes sense as it is region defined by polygons: https://www.openstreetmap.org/relation/1685266
Edit:
alternatively, you could use Grimentz, Anniviers as a reference point in Nearby search, set type to Any and set name to Coop.
-
Thanks for your hints! Slowly I learn all the features!
I was wondering, why the Bookmarks do not show in the "Nearby venues" ... would be nice to have them together with the selection of the recent searches when selecting "Near location" instead of the other way selecting first the Bookmark and then select "Nearby Venues".
Here some Examples from UT. First: search is not possible, icon in the upper right corner is grey, no GPS position acquired (circle turning).
Second: Search is not possible, icon is still grey, GPS position o.k. but no type selected (no pulldown beside Type, you have to tap the white area):
Third: You can start the search, icon is black now. You have to tap the icon to start the search (try and error, no comment also on the tablet):
What is also not clear for me is the difference between "Prefer Closest" and "Prefer Best", the wording "Best" is not defining anything, best for whom or what?
-
It's not very obvious on UT, but you can tap on "Near Current position". That will open search dialogue with bookmarks being part of it. On SFOS, we have special color coding of elements that can be tapped. This makes it clear where you could interact, not sure whether there is something similar for UT.
So, from screenshots:
- That's correct, as we don't know location. If you tap Near, you will be able to enter location that will be used as a reference
- Same as Near, have to tap on it.
- Yeah, I can see that it is not super intuitive. Re Best - old formulation, most popular would be the correct one.
From comments, it's clear that some visual feedback is missing for selectable elements. Combobox is probably wrong - but I am not sure what should it be.
Also triggering of the action seems to be rather obscure. Any good design for UT? Same probably goes for routing.
Hopefully replied to your suggestions. If not, please let me know.
-
@rinigus many thanks for your explanations! Step by step I learn the program know. It was not clear for me, that bookmarks appear, if I enter text into the search field for "Near location".
So it seams to be:
- depending on offline or online I get different input fields
- Using offline OSM Scout I can enter a search string and search "Any" Type
- Using online Maps I can't enter a search string and the Type "Any" does not exist.
The text Best is still confusing for me, same as most popular. I don't see what algorithm is behind and according to which criteria I should use "Closest" or "Best". Is there some counter somewhere counting how many people enter this keyword?
-
Search field (the one you see when starting entering text into Near location, same in routing) links bookmarks and addresses. They both are searched while you type (assuming that provider supports it).
In many of my replies I mention provider. From the beginning, Pure Maps (with its earlier names Poor Maps and WhoGo Maps) was designed to be modular. It is easy to add new providers for search, nearby venues, and routing.
Each provider can have it's own settings that alter the action. For routing, some search only routes for cars, some do more. For nearby venues, default online provider is https://foursquare.com/. That "Best" or Most Popular comes from them.
Over offline provider - OSM Scout Server - I have some control as I am the author of it. But note that even there, routing is provided via one of the libraries - Valhalla - and the server can be considered as just an extra layer for that. For search (global and nearby), though, control is larger as it is using geocoder-nlp that I wrote. Although, it becomes question of my time and priorities among projects that I contribute to.