Search found 13 matches

by LNM_PTV
Thu Oct 01, 2020 7:19 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Does time consideration guarantee consistent routing?
Replies: 2
Views: 4550

Re: Does time consideration guarantee consistent routing?

Hi John,

ExactTimeConsiderationAtStart evaluates all data which has time restrictions at the exact time at which the route segment is reached by the vehicle.
When you perform step 2 and a traffic jam occured in the section A --> CarPosition, after you have calculated step 1, then the route from ...
by LNM_PTV
Mon Jan 21, 2019 5:14 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Groovy & Funky
Replies: 8
Views: 11490

Re: Groovy & Funky

Hi Max,

you can do such a if-else decision in a groovy script.
But you pass only coordinates into the request.

For the determination of the country codes of start and end points you need a reverse geocoding inside the script, or you have to pass that information via CallerContext.

Which way do ...
by LNM_PTV
Fri Aug 17, 2018 11:45 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: Displaying route with toll sections (without recalculating)
Replies: 2
Views: 83635

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 ...
by LNM_PTV
Tue Sep 26, 2017 11:29 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: toll costs not calculated correctly when fuzzy waypoint used
Replies: 1
Views: 4528

Re: toll costs not calculated correctly when fuzzy waypoint

Hello,

you use vehicle options in order to configure the vehicle properties from one waypoint to another.
You did not do that for the fuzzy viapoint.
Because you use a default-profile (that is a car profile) in the callercontext, this profile is used for the section from the via point to the ...
by LNM_PTV
Tue Sep 12, 2017 12:53 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: Does PTV provide an ANGULAR2 component for rapid map dev?
Replies: 3
Views: 12567

Re: Does PTV provide an ANGULAR2 component for rapid map dev

Hi,

there exist free leaflet components for angular 2.
If you use xmap2 you can easily use the rest api and insert the corresponding url-pattern.

Best regards,
Lars
by LNM_PTV
Thu Aug 03, 2017 2:36 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Toll as truck but not as a car
Replies: 3
Views: 10400

Re: Toll as truck but not as a car

Hallo!

If you do a truck Routing on that route, the corresponding toll data are considered.
For a car routing, for example in Germany or in Austraia, a vignette has to be bought.
A vignette fee is dependent on the validity period.
For different validity periods different amounts of money has to be ...
by LNM_PTV
Wed Jun 28, 2017 7:31 am
Forum: PTV Navigator SDK (Admin=SchS)
Topic: Web and mobile routing with BCR files.
Replies: 4
Views: 10699

Re: Web and mobile routing with BCR files.

Hello,

please find attached the desired code sample.
You can copy it into the code sample browser and execute it there.
The sample shows the content of an bcr file for a route that is planned with the xroute Server.
GuidedNavigation.zip
GuidedNavigationBCRSample
(5.21 KiB) Downloaded 1791 times
Best regards,
Lars
by LNM_PTV
Mon Mar 20, 2017 8:11 am
Forum: PTV xLocateServer / Developer: Geocoding and Places
Topic: xLocate cannot give back planned route
Replies: 4
Views: 11381

Re: xLocate cannot give back planned route

Hello Daniel,

xlocate cannot use truckattributes.
The linking-problem usually occurs when there are truck restrictions in an area directly around the located geocoordinate.
The xroute searchs for a segment of the roadnetwork, where the geocoordinate can be linked to,within a certain linking ...
by LNM_PTV
Thu Mar 09, 2017 5:13 pm
Forum: PTV xLocateServer / Developer: Geocoding and Places
Topic: xLocate cannot give back planned route
Replies: 4
Views: 11381

Re: xLocate cannot give back planned route

Hello Daniel,

I geocoded both 'Szczecin' and 'Székesfehérvár' with findAddressByText on the EuropeCityPremium2017.1H and the EuropeCityPremizm2017.2H and calculated a routing into these cities using the truckfast and truckslow profile.

Here is the sample request:

{
"waypoints": [
{
"coords ...
by LNM_PTV
Thu Mar 09, 2017 8:42 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Accessing the methods of xLocate service via WebClient in C#
Replies: 5
Views: 16399

Re: Accessing the methods of xLocate service via WebClient i

Hello,

here are two links to our Website where you can find Information about how to acces the xlocate Service in C#.

http://xserver.ptvgroup.com/en-uk/cookbook/programming-examples/c/accessing-ptv-xserver-internet-in-net-applications/

http://xserver.ptvgroup.com/en-uk/cookbook/programming ...
by LNM_PTV
Wed Jan 11, 2017 3:55 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Show custom popup for pin on mouse click for showing details
Replies: 2
Views: 7060

Re: Show custom popup for pin on mouse click for showing det

Hello,

what about using OnMouseLeftButtonDown + ALT?
by LNM_PTV
Thu Oct 20, 2016 2:42 pm
Forum: PTV xLocateServer / Developer: Geocoding and Places
Topic: Distinction between geocoding and address validation
Replies: 1
Views: 81569

Distinction between geocoding and address validation

Hello,

Question:
Can I use xlocate for address validation?

Answer:
The main intent of a geocoder is to find a suitable geo coordinate for a given input address.
The provided input address can be corrected within certain limits.
However, this correction depends on the geodata.
These geodata are ...
by LNM_PTV
Fri Jun 03, 2016 1:56 pm
Forum: PTV xMapmatchServer (admin=JCL), PTV Developer MapMatching API
Topic: Comparison actual speed from gps track versus allowed speed
Replies: 3
Views: 89878

Comparison actual speed from gps track versus allowed speed

Hello!

Does anyone have a code sample in which the input are the GPS tracks including the actual speed and the output is a comparison between actual speed and allowed speed?

Thank you very much.