Overview
The Open Point of Interest (POI) service provides a RESTful API to find points of interest near a location. Such points of interest can be restaurants, stores, sights, parks, or other geographical features. You can query the API using latitude and longitude World Geodetic System 1984 (WGS84) coordinates and a radius parameter in meters. The result contains the locations and descriptions of points of interest within the radius. The API returns data in GeoJSON format which you can easily include in custom applications.
API Reference
/search
/search
Return a GeoJSON FeatureCollection, which includes all points of interest that match the query criteria, ordered by their distance from the reference point.
Service Usage
Call the /search
endpoint with WGS84 coordinates as the long and lat parameters. Set the radius parameter to define the search radius in meters around the location.
The underlying dataset consists of the GeoNames geographical database. It contains cities, lakes, parks, public buildings, and more. The GeoNames geographical database is licensed under CC BY 3.0.
Introduction
To use this tutorial, you must have a valid Bearer access token.
For more information about how to get an access token, see the /token
endpoint of the OAuth2 service's API Reference.
Request points of interest
You can query the POI service with any location. In this tutorial, you learn how to get points of interest at the center of Berlin.
The coordinates for the center of Berlin in WGS84 format are 52.518611, 13.408333
. This means you set the long parameter to 13.408333
and the lat parameter to 52.518611
. Set radius=200
to get locations within a 200m radius of this point.
/search?long=13.408333&lat=52.518611&radius=200
Adjusting the radius to 500m yields a larger result set.
/search?long=13.408333&lat=52.518611&radius=500
You can visualize the GeoJSON object on a map to see the locations of the points of interest. In our example, the points of interest are highlighted by blue markers and the reference point is shown with a blue square. 
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.