Search found 227 matches

by Joost
Thu Mar 31, 2022 8:56 am
Forum: PTV xLocateServer
Topic: xLocate.findCombinedTransportByLocation search parameters
Replies: 8
Views: 12454

Re: xLocate.findCombinedTransportByLocation search parameter

The challenge is more to identify whether this is a train or a ferry You can check the type attribute to see if something is a ferry or a piggyback (== api term for rail shuttle). See https://xserver.ptvgroup.com/fileadmin/files/PTV-COMPONENTS/DeveloperZone/Documents/xServer_public/manual/Default.h...
by Joost
Fri Mar 25, 2022 1:12 pm
Forum: PTV xRouteServer
Topic: xRoute - xServer1 - tunnel codes restriction issue
Replies: 1
Views: 1635

Re: xRoute - xServer1 - tunnel codes restriction issue

The tunnel restriction code in the waypoint[0].routingoptions does not using the letters enumeration, instead you need to provide the underlying number. See UC_How-to-use-truck-attributes.htm for the translation table (paragraph: Routing with Tunnel Restriction Codes). So in your request you need to...
by Joost
Wed Dec 22, 2021 9:08 am
Forum: PTV xLocateServer
Topic: failed to create locating engine, database could not be open
Replies: 1
Views: 7406

Re: failed to create locating engine, database could not be

When i run into this the maps.path in the xlocate.properties is misconfigured or the map in not installed correctly.
by Joost
Wed Dec 08, 2021 3:37 pm
Forum: PTV xRouteServer
Topic: Routing options to use motorways and ferries
Replies: 3
Views: 1774

Re: Routing options to use motorways and ferries

About "IDrivingOptions_5_4_0_0::put_ResidentsOnlyFactor" That is found at: Routing / Course / BasicDataRules / SpecialAreas / @residentialMalus (xServer 1 profile) RequestBase.requestProfile.routingProfile.crourse.apecialAreas.residentsOnlyPenalty (xServer 2 request) It is not connected to...
by Joost
Wed Dec 01, 2021 7:21 am
Forum: PTV xRouteServer
Topic: xServer 2 - Swiss toll missing
Replies: 13
Views: 5693

Re: xServer 2 - Swiss toll missing

Your axle load is to high. it is set to 11500 and there is a 8000 axle load blocking on the route that goes through the tunnel. Note: although it does not influence this particular route you also have to many axles (5 atm). I would recommend not writing out the entire request profile and just set th...
by Joost
Thu Nov 18, 2021 12:17 pm
Forum: PTV xRouteServer
Topic: xServer 2 - Swiss toll missing
Replies: 13
Views: 5693

Re: xServer 2 - Swiss toll missing

My mapserver knowledge is a but rusty but IIRC what is mentioned here as extra toll would be the charges for tunnels/birdges/ferries/mountain passes that would be charged apart from regular toll or vingette. After a quick glance I'm not seeing any section in the example given that should contain the...
by Joost
Wed Oct 13, 2021 9:43 am
Forum: PTV xRouteServer
Topic: xRoute not working with 2021.2H map
Replies: 1
Views: 1728

Re: xRoute not working with 2021.2H map

The truck attributes road editor layer has increased in size over the years. I'm the layer is probably bigger then the 1.18 configuration allows. Try to increase the roadEditorParameter.normLayerSize in the conf/xroute.properties to 80000000 and see if that solves the issue. Note: the 1.18 are outsi...
by Joost
Fri Aug 27, 2021 10:57 am
Forum: PTV xMapServer
Topic: Featurelayer licensed or not?
Replies: 5
Views: 7095

Re: Featurelayer licensed or not?

That works, but keep in mind that it is not an official feature, so in later versions the page might work differently. I don't expect us to make changes in the xServer 1 management console now that we have xServer 2, but it could be.
by Joost
Mon Jul 12, 2021 7:28 am
Forum: PTV xRouteServer
Topic: Detect Routing Country Violation
Replies: 5
Views: 2616

Re: Detect Routing Country Violation

a route will still be calculated if Course.Violations.Enabled=true is specified in the routing profile This is not correct. When you set prohibitedCountries the engine will no load map data for these countries. In other words: as far as the engine is concerned that country does not exist for the re...
by Joost
Thu Jun 24, 2021 4:24 am
Forum: PTV xTourServer
Topic: xTour 1 - Dima with airlinedistance / airlinespeed
Replies: 4
Views: 4388

Re: xTour 1 - Dima with airlinedistance / airlinespeed

You do actually have to set the directVelocity or else xTour will complain that you are not providing dima information. You can find the parameter on the PlanningParams . Common value we use is 64.