Hey,
On Thursday, December 16, 2021 12:06:22 PM CET, Yochi Danino wrote:
> Hey! I am trying to understand the PPT documentation to understand the fare
> prices throughout the Netherlands.
>
> I am having a lot of trouble because the documentation is in Dutch.
They are Dutch prices ;) There must be someone in Arriva to help you out,
right?
> Firstly, are the Bison PPT
> <
https://bison.dova.nu/standaarden/ppt-producten-prijzen-en-tarieven> fares
> for all agencies except rail? I could only see HTM there.
> With that, I see that in the "tarieven" folder there are PPT fares for
> agencies separately, and am still having trouble deciphering them.
Where is 'there'? This looks pretty 'filled' to me.
<
https://data.ndovloket.nl/tarieven/>
> For example, in GVB's file, what do the following represent/correspond to?
>
> <DistanceMatrixElement version="gvb:1.0" *id="gvb:HH_81051-0216*">
>
> * <StartStopPointRef ref="gvb:SSP-02064"/>
> <EndStopPointRef ref="gvb:SSP-02109"/>*
> <prices>
> <DistanceMatrixElementPrice
> version="gvb:1.0" id="gvb:HH_81051-0216P">
> <
> *Amount>95</Amount>
> <Units>0.01</Units>*
> </DistanceMatrixElementPrice>
> </prices>
> </DistanceMatrixElement>
>
> I would appreciate any help here. Thanks!!!
Please specify the file that you are looking at.
Typically it would work via:
<ScheduledStopPoint id="gvb:SSP-02064" version="gvb:1.0">
<projections>
<PointProjection id="gvb:PP-02064" version="gvb:1.0">
<ProjectedPointRef ref="02064"
nameOfRefClass="KV1UserStop"/>
</PointProjection>
</projections>
</ScheduledStopPoint>
The projection to KV1:
RECORDTYPE|VERSIONNUMBER|IMPLICITEXPLICIT|DATAOWNERCODE|USERSTOPCODE|TIMINGPOINTCODE|GETIN|GETOUT|TIMINGPOINT|NAME|TOWN|USERSTOPAREACODE|STOPSIDECODE|ROADSIDEEQDATAOWNERCODE|ROADSIDEEQUNITNUMBER|MINIMALSTOPTIME|STOPSIDELENGTH|DESCRIPTION|USERSTOPTYPE
USRSTOP|3|I|GVB|00264||TRUE|TRUE|N|Station
Diemen|Amsterdam|00264|-|||0|||PASSENGER
So you find the pair, and depending on the structure used, you can create
origin-destination matrix out of it that can be applied to a journey plus
apply the entrance fare, where appropriate;
<keyList>
<KeyValue>
<Key>EntranceRateWrtCurrency</Key>
<Value>0.99</Value>
</KeyValue>
</keyList>
--
Stefan