"what's there" function

Started by Juvan1, April 17, 2021, 11:06:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Juvan1

The "what's there" function appearing in the context menu when you long press the screen
doesn't shows any additional information except the name of the street which is already on the map (Openandromaps).
Is this normal?

orux

Quote from: Juvan1 on April 17, 2021, 11:06:30 PM
The "what's there" function appearing in the context menu when you long press the screen
doesn't shows any additional information except the name of the street which is already on the map (Openandromaps).
Is this normal?
Hello!
That function do a geocoding search using google services, and shows the response.
The information provided can be in the map or not,

orux

Juvan1

Thanks for the answer.
I don't know if it's possible but it would be very interesting
to link this function with the OpenStreetMap database.
A bit like shown in their website when you right click
on a point of the map there is a "Query Features" function
which provides additional data not visible directly on the map.

afgb1977

Quote from: Juvan1 on May 04, 2021, 12:17:53 AM
Thanks for the answer.
I don't know if it's possible but it would be very interesting
to link this function with the OpenStreetMap database.
A bit like shown in their website when you right click
on a point of the map there is a "Query Features" function
which provides additional data not visible directly on the map.

Hello. You can use the new beta feature, GeoIntents to do direct searches on the web. A couple of examples:

Nominatim:
https://nominatim.openstreetmap.org/reverse?lat={lat}&lon={lon}&zoom={zoom}&addressdetails=1&namedetails=1&extratags=1

It will return information from OSM about the position you are viewing in OruxMaps.

OSM Query:
https://www.openstreetmap.org/query?lat={lat}&lon={lon}#map={zoom}/{lat}/{lon}

It will open the OSM website directly in the function "Consult elements"

Felipe


Juvan1

QuoteHello. You can use the new beta feature, GeoIntents to do direct searches on the web. A couple of examples:

Nominatim:
https://nominatim.openstreetmap.org/reverse?lat={lat}&lon={lon}&zoom={zoom}&addressdetails=1&namedetails=1&extratags=1

It will return information from OSM about the position you are viewing in OruxMaps.

OSM Query:
https://www.openstreetmap.org/query?lat={lat}&lon={lon}#map={zoom}/{lat}/{lon}

It will open the OSM website directly in the function "Consult elements"

I downloaded the beta version, but I did not find a function "GeoIntents" only "Geocoding"
"That I tried with the links provided but which gives me an error "
Could you tell me more precisely how to find it and how to use it.
Must the links provided be entered each time or be in a specific file ?

Sorry for the newbie question.
Thanks for your help.

Lenz

Hello Juvan1,

the function is called "share map position". You can define intents for "open other app at this position" by tapping on "+". There you have to fill in a name of your choice and the uri which is either a link to a website with parameters (e.g. the examples posted by afgb1977) or a call for an app also including parameters.

regards
Lenz

Juvan1

Thanks for the explanation
I tried with "OSM Query"
It works very well
This was what I was looking for ...  :)