xRoute2: multiple binaryFeatureLayer in calculateRoute

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
hegedus.tibor
Posts: 13
Joined: Fri Jan 15, 2021 2:02 pm

xRoute2: multiple binaryFeatureLayer in calculateRoute

Post by hegedus.tibor »

Hi,

we are exploring the capabilities of xRoute2 and haven't figured out if it is possible to use multiple binaryFeatureLayer in a calculuteRoute operation?

So can I add multiple binary feature layer into the routeRequest.routeOption.binaryFeatureLayer field (e.g. separated by a special character) or is it not an option now?

Br,
Tibor
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xRoute2: multiple binaryFeatureLayer in calculateRoute

Post by Bernd Welter »

Hi Tibor,
you can only send a single binary encoded feature layer per routing request.
The assemblage of several themes/scenarios works only with the persisted layers (feature layer profile).
Sorry for that.

Get back to me 1:1 so we can discuss your usecase. Maybe we can find an alternative solution.
(native approach: create a binary that merges the data at creation time?)

Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
hegedus.tibor
Posts: 13
Joined: Fri Jan 15, 2021 2:02 pm

Re: xRoute2: multiple binaryFeatureLayer in calculateRoute

Post by hegedus.tibor »

Thank you for the answer!

We will go with the merging, that's already working in our POC, just wondered if there is an easier way for us. :)

Br,
Tibor
Post Reply