Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

POI not found with geocoding API

Tags:

I am trying to use the MapBox Geocoding API and for it I tried to translate "Centre Hospitalier Régional d'Orléans" (that is an Hospital in France, Orléans) into Lng/Lat coordinates.

When I display a MapBox Map, I can see the POI: CHRO POI on Mapbox

And when I click it in MapBox Studio, it is well recognized as a Point Of Interest (POI) (poi-label):POI

But when I try to find it using the Geocoding API, I don't find it. Here is the request I run: https://api.mapbox.com/geocoding/v5/mapbox.places/Centre%20Hospitalier.json?access_token=pk.eyJ1IjoibWF0dGZpY2tlIiwiYSI6ImNqNnM2YmFoNzAwcTMzM214NTB1NHdwbnoifQ.Or19S7KmYPHW8YjRz82v6g&cachebuster=1547469044480&autocomplete=true&country=fr&proximity=1.909251%2C47.902964

Is it normal ? Am I doing something wrong or is it a bug ?

like image 600
Victor Castro Avatar asked Jan 14 '19 12:01

Victor Castro


People also ask

Is there any free geocoding API?

While most geocoding services come with a hefty price tag or credit fee, QGIS offers several geocoding plugins for free. And the best part about QGIS is that it's completely open-source licensed under the GNU General Public License. In QGIS 3, geocoding is all in open source using the OSM Place Search plugin.

What is geocode API?

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses. This service is also available as part of the client-side Google Maps JavaScript API, or for server-side use with the Java Client, Python Client, Go Client and Node. js Client for Google Maps Services.


1 Answers

The data behind the maps and the geocoder aren't necessarily the same, so it's likely this Hospital is showing up on the map from OpenStreetMap, but isn't in the data being used for the geocoder.

Some information about data sources is at https://www.mapbox.com/about/maps/

You can report feedback about this at https://apps.mapbox.com/feedback/ mentioning its a geocoding issue.

like image 74
AndrewHarvey Avatar answered Oct 12 '22 23:10

AndrewHarvey