added
Geocoding API: Extract Rich Geographic Information
over 1 year ago by Wafaa Kahoui
We're happy to introduce our new Geocoding API that allows users to extract rich geographic information from any text location or address.
😍 Why it’s a big deal for HrFlow.ai users?
This update introduces several new features for our users:
- Intelligent extraction of geographic data from text input
- Support for geopoints, locations, cities, countries, and GeoJSON output
- Global coverage accepting queries from anywhere in the world
- Fast and scalable for use in real-time applications
- Batch processing of multiple inputs for efficient data retrieval
🔧 How does it work?
Below is an example of the GeoJson
result containing all relevant geographic information extracted from the location text, especially:
- Geographic fields:
city
,city_distric
,country
,country_region
, etc. - Google maps coordinates:
gmaps
link, latitudelat
, and longitudelng
{
"code": 200,
"message": "Geocoding Text finished in 0.38 seconds.",
"data": [
{
"dfields": {
"category": null,
"city": "Neuilly-sur-Seine",
"city_district": null,
"country": "FRA",
"country_region": null,
"entrance": null,
"house": null,
"house_number": "112",
"island": null,
"level": null,
"near": null,
"po_box": null,
"postcode": "92200",
"road": "Avenue Charles de Gaulle",
"staircase": null,
"state": "Île-de-France",
"state_district": "Hauts-de-Seine",
"suburb": null,
"text": "112 Avenue Charles de Gaulle, 92200, Neuilly-sur-Seine, Hauts-de-Seine, Île-de-France, FRA",
"unit": null,
"world_region": null
},
"gmaps": "https://www.google.com/maps/place/48.882640986183,2.268224974288",
"is_correct": true,
"lat": 48.882640986183,
"lng": 2.268224974288,
"text": "112 avenue charles de gaulle 92200 neuilly-sur-seine"
}
]
}