Near POI Find places nearby
BeMap name: Near POI
/nearpoi/1.0The points of interest around a position, such as fuel stations, restaurants or car parks, limited by the distance to travel to them.
The whole description
In BeMap's words
Find POI around a coordinate, limited by distance of travel from coordinate to POI.
Find POI around a coordinate, limited by distance of travel from coordinate to POI.
400 with Access Denied.Request body
JSON, Content-Type: application/json. Schema NearPoiRequest.
coordinateCoordinateSatrequiredCoordinate of center of research, will be used with
distanceparameter.CoordinateSat fields
lonnumber (double)requiredLongitude in degrees decimal (WGS84).
Also accepted as
longitude.latnumber (double)requiredLatitude in degrees decimal (WGS84).
Also accepted as
latitude.headingnumber (double)Heading in degrees.
speednumber (float)Speed in km/h.
timeinteger (int64)GPS time in milliseconds (EPOCH).
satinteger (int32)Number of GPS satellites available.
distanceinteger (int64)requiredLimit of research in meters.
geoserverstringGeoserver name.
swidxinteger (int32)deprecatedSwitch index.
transportTypeenumDefine the transportation mode: Car, pedestrian, truck, etc. By default PEDESTRIAN.
9 accepted values
PEDESTRIANPedestrian. BICYCLEBicycle. MOTORCYCLEMotorcycle. CARPassenger car. TAXITaxi. PUBLIC_BUSPublic bus. EMERGENCYEmergency vehicle. DELIVERY_TRUCKDelivery truck. Deprecated, use TRUCKinstead.TRUCKTruck. orderByenumSort the result by distance or duration in either ascending or descending. Disable by default.
4 accepted values
DISTANCE_ASCSort by distance in either ascending. DISTANCE_DESCSort by distance in either descending. DURATION_ASCSort by duration in either ascending. DURATION_DESCSort by duration in either descending. plbooleanEnable the output polyline geometry of route. Set to true to enable otherwise false. Disable by default.
eplbooleanEnable the output encoded polyline geometry of route with Google Algorithm. Set to true to enable otherwise false. Disable by default.
serviceCategoriesstring[]Service categories. POI Class ID (numeric value defining the type of service, see the
Class ID listin Glossary menu).
Response
200, schema NearPoiResponse.
Response fields
poisNearPoint[]Points of interests.
NearPoint fields
coordinateCoordinateGeographical coordinate of POI.
distanceinteger (int64)Distance of travel in meters between the input coordinate and POI.
durationinteger (int64)Duration of travel in seconds between the input coordinate and POI.
typestringType of POI.
namestringName of POI.
telephonestringPhone number of POI.
commentstringComment.
polylineCoordinateFullName[]Polyline geometry of route between start coordinate and the POI.
CoordinateFullName fields
longitudenumber (double)requiredLongitude in degrees decimal (WGS84) (double).
latitudenumber (double)requiredLatitude in degrees decimal (WGS84) (double).
altitudenumber (double)Altitude in meters.
encodedPolylinestringPolyline geometry of route between start coordinate and the POI. It is a composed of coordinates list and encoded with Google Algorithm.
Errors
- 400 Bad Request,
ErrorResponse - 302 No credentials were sent. Do not follow the redirect.
- 401 The account or the API key is wrong.
How to read each one: Errors.