Page 1 of 1

Missing ObjectInfos for BlocksCar / BlocksTruck

Posted: Fri Oct 07, 2016 11:28 am
by Bernd Welter
Hello community,

I'm dealing with the following issue, maybe somebody of you has a hint how to resolve it:
Given conditions:
  • a binary TruckAttributes file that contains the regular TruckAttributes plus some customized BlocksCar and BlocksTruck infos.
  • the two categories are displayed in the map properly (red circle with white inner space) :D
  • the map response does not return ObjectInfos : creating proper tooltips is not possible :oops:
  • refering to the segment category during a routing is handeled as it should be: the route takes a detour if violations are forbidden. If violations are allowed (additional costs=0) the segments are in use and the responses "segmentAttributes.additionalRE" and "segmentAttributes.violations" mention the BLOCKS_CAR and BLOCKS_TRUCK
Attention: the tooltip info incl. the BLOCKS_CAR and BLOCKS_TRUCK is based on a CustomLayer which is created via the segmentAttributes.
Attention: the tooltip info incl. the BLOCKS_CAR and BLOCKS_TRUCK is based on a CustomLayer which is created via the segmentAttributes.
Any clue how to change the setup to get the object infos?

Best regards Bernd

Re: Missing ObjectInfos for BlocksCar / BlocksTruck

Posted: Fri Oct 07, 2016 11:49 am
by Bernd Welter
Hello there,

here is further info provided by a colleague (thanks Joost!):

if both restrictions (BLOCKS_CAR and BLOCKS_TRUCK) are specified on a segment at the same time the object infos are missing.
street on the left: BLOCKS_CAR, oi is returnes<br />street on the right: BLOCKS_TRUCK: oi is returned<br />street in the north: BLOCKS_CAR and BLOCKS_TRUCK: oi is not returned
street on the left: BLOCKS_CAR, oi is returnes
street on the right: BLOCKS_TRUCK: oi is returned
street in the north: BLOCKS_CAR and BLOCKS_TRUCK: oi is not returned
If only one category is applied it works.

Best regards Bernd