Venue Maps API Developer's Guide

Requesting a POI Model

The user wants to find Points of Interest (POI) in a Venue.

Request

In this example, we retrieve a venue model for the Alexa Shopping Center, Berlin, Germany:

http://static-3.venue.maps.cit.api.here.com/1/models-poi/DM_7171.json?
      Policy={YOUR_GENERATED_POLICY}
      &Signature={YOUR_GENERATED_SIGNATURE}
      &Key-Pair-Id={YOUR_GENERATED_KEY_PAIR_ID}
      &app_id={YOUR_APP_ID}
      &app_code={YOUR_APP_CODE}
Models are identified by venue identifier in the following format:
DM_<integer>

To find the venue identifier for a venue, use the Discovery Service. This services gives you a list of the venues available in a given geographical area. To get a complete list of all the venues that are covered by in the Venue Maps API, use the Venue Index.

Response

The response contains a summarized data model for the venue. The POIs are described in contentobjects which are members of the spaces object.

{"content":
  {"category":
    {
    "id":"shopping","nt":"6512"
    },
    
    "phoneNumber":"+49 (30) 2693400",
    "placeId":"",
    "names":{"GER":"Alexa Shopping Center"},
    "addresses":
      {"GER":{"postalCode":"10179",
      "countryCode":"DEU",
      "houseNumber":"20",
      "streetName":"Gruner strasse",
      "district":"DE","city":"Berlin"},
      "ENG":{"postalCode":"10179",
      "countryCode":"DEU",
      "houseNumber":"20",
      "streetName":"Gruner strasse",
      "district":"DE","city":"Berlin"}},
    "contentId":"814985"},
  
  "connectors":[{
    "destination2":"Lv15003Ds_2486040",
    "connectorClass":"ELEVATOR",
    "destination1":"Lv15004Ds_2486057"}, ... 
           == Content Truncated == 
This is an example of requesting a Points of Interest (POI) Venue Model. For the full reference, see POI Models.
In this example we retrieve venue model for Alexa Shopping Center, Berlin, Germany. Models are identified by venue identifier in the following format:
DM_<integer>

To obtain a Venue Identifier, you can get a list of the venues available in a given geographical area using Discovery Service, or get a list of all the venues available in Venue Maps API by using Venue Index

Request:

http://static-3.venue.maps.cit.api.here.com/1/models-poi/DM_7171.json?
  Policy={YOUR_GENERATED_POLICY}
  &Signature={YOUR_GENERATED_SIGNATURE}
  &Key-Pair-Id={YOUR_GENERATED_KEY_PAIR_ID}
  &app_id={YOUR_APP_ID}
  &app_code={YOUR_APP_CODE}

Response:

{"content":
  {"category":
    {
    "id":"shopping","nt":"6512"
    },
    
    "phoneNumber":"+49 (30) 2693400",
    "placeId":"",
    "names":{"GER":"Alexa Shopping Center"},
    "addresses":
      {"GER":{"postalCode":"10179",
      "countryCode":"DEU",
      "houseNumber":"20",
      "streetName":"Gruner strasse",
      "district":"DE","city":"Berlin"},
      "ENG":{"postalCode":"10179",
      "countryCode":"DEU",
      "houseNumber":"20",
      "streetName":"Gruner strasse",
      "district":"DE","city":"Berlin"}},
    "contentId":"814985"},
  
  "connectors":[{
    "destination2":"Lv15003Ds_2486040",
    "connectorClass":"ELEVATOR",
    "destination1":"Lv15004Ds_2486057"}, ... 
           == Content Truncated == 

Related Information