Hello,
today I have tried to display a route based on a LineString array with xMap2. Since this worked fine, I tried to add a layer with the toll information about this route, unfortunately unsuccesful.
Is there any possibility to reconstruct a route which was calculated in the past?
Which data is needed to get a result?
Further, using the JavaScript API and Leaflet:
Is there any possibility to use the WKB instead of a LineString?
Many thanks!
Julian Ulonska
Displaying route with toll sections (without recalculating)
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Displaying route with toll sections (without recalculati
Hello Julian,
let's split the topics because some aspects touch the web clients, others don't.
@Lars: could you please take care of the "Is there any possibility to use the WKB instead of a LineString?" topic?
"Is there any possibility to reconstruct a route which was calculated in the past?
Which data is needed to get a result?" : I will take care on a one2one base...
Best regards,
Bernd
let's split the topics because some aspects touch the web clients, others don't.
@Lars: could you please take care of the "Is there any possibility to use the WKB instead of a LineString?" topic?
"Is there any possibility to reconstruct a route which was calculated in the past?
Which data is needed to get a result?" : I will take care on a one2one base...
Best regards,
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...
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...
Re: Displaying route with toll sections (without recalculati
Hello,
the wkb format is not directly supported by the leaflet format.
Before using a wkb format you have to transform it, for exmaple into geoJson. It might be the case, that there are already existing js libraries for that Transformation..
In order to store routes, you have to save the geometry.
If you want to display toll Information related data, you have to save them as well.
Best regards,
Lars
the wkb format is not directly supported by the leaflet format.
Before using a wkb format you have to transform it, for exmaple into geoJson. It might be the case, that there are already existing js libraries for that Transformation..
In order to store routes, you have to save the geometry.
If you want to display toll Information related data, you have to save them as well.
Best regards,
Lars
Lars Moritz
Technical Consultant
PTV GROUP, Germany
Technical Consultant
PTV GROUP, Germany