Skip to content

Points of Interest

Points of interest (POIs) are points that are of interest for navigation, route planning or map applications. They consist of a coordinate and other properties that describe the point. These properties can be, for example, a name, the address or URLs.

The MapTrip Server API provides endpoints to query points of interest in a bounding box. The result is a GeoJSON feature collection of all POIs in the bounding box.

Truck Parking Areas

Our API provided access to truck parking areas by our partners Happy Trucker and Bosch Secure Truck Parking.

License option required

Querying truck parking areas requires a separate license option. If you are interested in this, please contact our sales team.

The endpoint [GET] /poi/parking/{from}/{to} returns truck parking areas in the specified bounding box. Every parking area is returned as a point feature with these properties:

  • the name of the parking area
  • the data provider
  • the address of the area
  • a list of URLs to images of this area
  • the URL to the details page with additional information and booking options

The resulting GeoJSON looks like this:

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          6.83340542,
          50.91444566
        ]
      },
      "properties": {
        "images": [
          "http://127.0.0.1:8080/internal/poi/parking/image/png/4773",
          "http://127.0.0.1:8080/internal/poi/parking/image/webp/4775",
          "http://127.0.0.1:8080/internal/poi/parking/image/webp/4776",
          "http://127.0.0.1:8080/internal/poi/parking/image/webp/4777",
          "http://127.0.0.1:8080/internal/poi/parking/image/png/4778",
          "http://127.0.0.1:8080/internal/poi/parking/image/webp/4772",
          "http://127.0.0.1:8080/internal/poi/parking/image/webp/4774"
        ],
        "address": {
          "city": "Frechen",
          "zipcode": "50226",
          "street": " Koelner Str. 209-211",
          "country": "DEU"
        },
        "provider": "Bosch",
        "name": "Premium Parking Frechen",
        "details": "https://portal.bosch-secure-truck-parking.com/en/?detail=1&id=4801&locale=en"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          6.813412,
          50.818406
        ]
      },
      "properties": {
        "images": [
          "https://happy-trucker.de/image/cropped/551-m8rcz3ij.png",
          "https://happy-trucker.de/image/dd5989a8dd940c3fa45640071a5341e8.png",
          "https://happy-trucker.de/image/cropped/550-m1ony2op.png",
          "https://happy-trucker.de/image/cropped/545-m6kv92qo.png",
          "https://happy-trucker.de/image/cropped/549-m6kv9k33.png",
          "https://happy-trucker.de/image/cropped/546-m1omif35.png",
          "https://happy-trucker.de/image/cropped/547-m1onxmw1.png",
          "https://happy-trucker.de/image/cropped/548-m1omik5d.png"
        ],
        "address": {
          "city": "Erftstadt",
          "zipcode": "50374",
          "street": "Behrensstraße",
          "housenumber": "9",
          "country": "DEU"
        },
        "provider": "HappyTrucker",
        "name": "Truck parking United Car Agent in Erftstadt",
        "details": "https://www.happy-trucker.de/en/truck-parking/truck-parking-united-car-agent-in-erftstadt-104"
      }
    }
  ]
}

Names and detail URLs are available in several languages. You can use the HTTP header Accept-Language to choose the language. If the specified language is not supported or there is no Accept-Language header, English is used as default.