POI and address search

8 posts / 0 new
Last post
Chetan.harsha
POI and address search

Hi,

 

We are trying to implement a REST API for mobile application to fetch POI for current location with Search String.

 

Meaning,

While I am at San Diego and in the search String I am typing “AVIS” the result should the AVIS very near to San Diego

Same way

While I am at Atlanta and in the search String if I am typing “AVIS” the result should the AVIS very near to Atlanta.

 

Can anyone help me how can we form the API for MQUEST to achieve the expected result.

Thanks

Chetan

 

 

 


MQBrianCoakley
If there were enough AVIS
If there were enough AVIS locations in the table (there seem to be 2 in ntpois) then the request would look something like this where the origin is the lat/lng from the device and the hosted data filters results to the rental SIC code and name to something with AVIS.   http://www.mapquestapi.com/search/v2/radius?key=KEY&origin=39.738453,-10...|name LIKE ? AND group_sic_code=?|%AVIS%,735999

siva.s@personiv.com
How to search a company name

How to search a company name using MapQuest API


MQBrianCoakley
Starting with the restaurant
Starting with the restaurant search in the user guide, search for the poi name rather than group_sic_code.

julia.ousmanov@...
Search POI by name

I cannot find a way to use Search API to find a business by name.  Could you please let me know what API will let me do that and provide a request sample


MQBrianCoakley
Here is how I search for a
Here is how I search for a business name near a search origin.   https://www.mapquestapi.com/search/v2/radius?key=KEY&origin=Denver, CO&maxMatches=10&radius=5&ambiguities=ignore&hostedData=mqap.ntpois|name ILIKE ?|%coffee%  

olaski
Hi, I want to search POIs by

Hi, I want to search POIs by category and within a bounding box. Am I right to think that I always have to know in advance whether I need mqap.ntpois or mqap.internationalpois and then use either group_sic_code_name or cats or is there a way to search globally, without specifying whether it's North America or the rest of the world? What I am doing at the moment is: if one returns empty results I go to the other one. Is there a better way of doing it? I'd appreciate some advice. 


MQBrianCoakley
You could determine a North
You could determine a North American bounding box and if the search origin lies within it then search ntpois and if not search internationalpois.