0

There is this truck restrictions map in the Here website.

But this only shows an image which is not of much use. Is there any way to get the info in a proper format?

Satyajit Das
  • 2,740
  • 5
  • 16
  • 30

1 Answers1

0

Please try our Fleet Telematics Advanced Data Sets product. The HERE Fleet Telematics Advanced Data Sets is a REST API that allows you to use HERE core map data that is not accessible through other HERE APIs, including tiles, data records and attributes.

For truck related, we have TRUCK_RESTR_FC1...5(Truck restriction info for routing) and TRUCK_SPEED_LIMITS_FC1...5 (Truck speed limit info) layers to providing truck restriction and speed limit attributes.

For example, to get one particular tile with truck restrictions, you can use below API call https://s.fleet.ls.hereapi.com/1/tile.json?layer=TRUCK_RESTR_FC3&level=11 &tilex=2146&tiley=1594&apiKey={YOUR_API_KEY}

Please check the developer documentation here for details.

  • Thank you for the response! I have couple of immediate doubts on this: 1 - Where can I get level, tilex & tiley for a particular area? In the example in this link there are zoom, column & row. Not sure if they correspond to level, tilex & tiley. 2 - How can I match the response to particular roads? The response has LINK_IDS but no other information that can help me identify for which road these jsons correspond to. Thanks – Satyajit Das Jun 29 '20 at 11:17
  • Regarding Q1: please check here on how to get level, tileX, tileY for a region https://developer.here.com/documentation/platform-data/dev_guide/topics/example-tile.html. Regarding Q2: if you know the level, tileX, tileY, basically you can get many information from different layers for the same tile. For example, you can request ROAD_NAME_FC3 to get the road names. By matching the link id, you should be able to get the information you want. –  Jun 30 '20 at 01:28
  • Thanks. I get road names like: "GERBNKalbacher Hauptstraße\u001E\u001EGERY\"ka:l|%ba|x6 \"haUpt|%Stra:|s@\u001DGERBNL3003\u001E\u001EGERN\"?El %draI|taU|z=nt|\"draI;GERN\"lant|Stra:|s@ \"draI|sIC \"nUl \"draI;GERY\"?El \"draI|sIC \"nUI \"draI;GERN\"lant|Stra:|s@ %draI|taU|z=nt|\"draI" What are the extra characters and how to convert to actual road names? – Satyajit Das Jul 06 '20 at 13:58
  • Also I don't get response of restrictions e.g. in this case: https://s.fleet.ls.hereapi.com/1/tile.json?layer=TRUCK_RESTR_FC3&level=11&tilex=2048&tiley=1615&apiKey= all I get is this: {"Rows":[]} – Satyajit Das Jul 06 '20 at 14:23
  • LINK_ID in ROAD_NAME and in TRUCK_RESTRICTION are different and in different format! How can I truly match the truck restriction to actual roads in that case? – Satyajit Das Jul 06 '20 at 16:52
  • 1
    link found to be broken. Anyone have any ideas? – Ujjwal Jung Thapa Jul 23 '21 at 02:08