-
Menno
-
-
Offline
-
Gebruiker
- Berichten: 3696
-
-
|
Naast de WFS-webservices staan er ook deze REST-services: 2.2 VNDS dataservices
2.2.1 Toelichting
De VNDS-dataservices zijn geïmplementeerd als REST-services, waarbij berichten als JSON-bestand worden geretourneerd.
Dit is in een (web-)applicatie redelijk makkelijk in te lezen en evt. te converteren naar GPX & HTML.
Bijvoorbeeld voor de Stevinsluis:
Sluis: {
"Id": 43389,
"GeoType": "lock",
"GeoGeneration": 769,
"Name": "Stevinsluis",
"Geometry": "POINT (5.04684448242187 52.9308583434562)",
"VinCode": "9289",
"RouteId": 4324,
"RouteKmBegin": 32.2,
"RouteKmEnd": 32.168,
"City": "Den Oever",
"AdministrationId": 7617545,
"FairwaySectionId": 19573,
"IsrsId": 9071875,
"FairwayId": 34539,
"PhoneNumber": "088-7974540",
"ReferenceLevelBeBu": "NAP",
"ReferenceLevelBoBi": "MP",
"OperatingTimesId": 51586,
"Address": "Sluiskolkkade 8",
"PostalCode": "1779 GP",
"NumberOfChambers": 1,
"IsRemoteControlled": false
} https://www.vaarweginformatie.nl/wfswms/dataservice/1.3/817/lock/43389
Marifoonkanaal: {
"Id": 14991507,
"GeoType": "radiocallinpoint",
"GeoGeneration": 489,
"Name": "Meldpunt (Radio Calling-In Point) ViN(R9289)",
"Geometry": "POINT (5.04752956371686 52.9301879311648)",
"VinCode": "R9289",
"RouteId": 4324,
"RouteKmBegin": 32.168,
"RouteKmEnd": 32.168,
"FairwayId": 34539,
"FairwaySectionId": 19573,
"ParentId": 43389,
"ParentGeoType": "lock",
"RadioTraffic": "TWO_WAY",
"VhfChannels": [
"20"
],
"RadioOrientation": 0
} https://www.vaarweginformatie.nl/wfswms/dataservice/1.3/817/radiocallinpoint/14991507
Sluiskolk: {
"Id": 8988,
"GeoType": "chamber",
"GeoGeneration": 769,
"Name": "Sluiskolk in Stevinsluis",
"Geometry": "POINT (5.04683375358581 52.9308421756782)",
"VinCode": "9290",
"RouteId": 4324,
"RouteKmBegin": 32.2,
"RouteKmEnd": 32.168,
"IsrsId": 9071876,
"FairwayId": 34539,
"FairwaySectionId": 19573,
"Number": 1,
"GateWidth": 13,
"Length": 120,
"Note": "Zie: bijzondere bepaling maximum toegestane afmetingen. Bij waterstanden boven NAP+1,80m wordt niet geschut.",
"ReferenceLevelInner": "BO/BI",
"SchutLengteEb": 120,
"SchutLengteVloed": 120,
"SillDepthBeBu": -3.5,
"SillDepthBoBi": -3.5,
"Width": 13,
"ParentId": 43389
} https://www.vaarweginformatie.nl/wfswms/dataservice/1.3/817/chamber/8988
Bedieningstijden: {
"Id":51586,
"GeoType":"operatingtimes",
"GeoGeneration":758,
"Name":"Bedientijden ViN(759)",
"OperatingPeriods":[
{
"Id":44456,
"GeoType":"operatingperiod",
"GeoGeneration":758,
"Name":"Bedienperiode ViN(2034)",
"Note":"Uw aanvraag minimaal 4 uur en maximaal 12 uur voor bediening. Telefoonnummer 088-7974574",
"Start":"0301",
"End":"0331",
"OperatingRules":[
{
"Id":43201,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(2034.1)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946702740000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7069386,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(2034.3)",
"Note":"Alleen op afroep",
"From":946760400000,
"To":946767540000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7069388,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(2034.5)",
"From":946711800000,
"To":946744140000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7069495,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(2034.6)",
"Note":"Alleen op afroep",
"From":946744200000,
"To":946767540000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7069675,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(2034.2)",
"From":946702800000,
"To":946760340000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7069745,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(2034.4)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946711740000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
}
]
},
{
"Id":7069824,
"GeoType":"operatingperiod",
"GeoGeneration":758,
"Name":"Bedienperiode ViN(5063)",
"Note":"Uw aanvraag minimaal 4 uur en maximaal 12 uur voor bediening. Telefoonnummer 088-7974574",
"Start":"0401",
"End":"1031",
"OperatingRules":[
{
"Id":7069412,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5063.1)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946702740000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7069481,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5063.2)",
"From":946702800000,
"To":946760400000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7070159,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5063.3)",
"Note":"Alleen op afroep",
"From":946760400000,
"To":946767540000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":true,
"IsSunday":true
}
]
},
{
"Id":7070076,
"GeoType":"operatingperiod",
"GeoGeneration":758,
"Name":"Bedienperiode ViN(5064)",
"Note":"Uw aanvraag minimaal 4 uur en maximaal 12 uur voor bediening. Telefoonnummer 088-7974574",
"Start":"1101",
"End":"1130",
"OperatingRules":[
{
"Id":7069540,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5064.4)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946711740000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7069739,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5064.1)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946702740000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7069851,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5064.3)",
"Note":"Alleen op afroep",
"From":946760400000,
"To":946767540000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7070111,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5064.5)",
"From":946711800000,
"To":946744140000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7070186,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5064.2)",
"From":946702800000,
"To":946760400000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7070375,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5064.6)",
"Note":"Alleen op afroep",
"From":946744200000,
"To":946767540000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
}
]
},
{
"Id":7070501,
"GeoType":"operatingperiod",
"GeoGeneration":758,
"Name":"Bedienperiode ViN(5065)",
"Note":"Uw aanvraag minimaal 4 uur en maximaal 12 uur voor bediening. Telefoonnummer 088-7974574",
"Start":"1201",
"End":"0229",
"OperatingRules":[
{
"Id":7069893,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5065.4)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946767540000,
"IsHoliday":true,
"IsMonday":false,
"IsTuesday":false,
"IsWednesday":false,
"IsThursday":false,
"IsFriday":false,
"IsSaturday":true,
"IsSunday":true
},
{
"Id":7070016,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5065.2)",
"From":946702800000,
"To":946760400000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7070140,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5065.3)",
"Note":"Alleen op afroep",
"From":946760400000,
"To":946767540000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
},
{
"Id":7070418,
"GeoType":"operatingrule",
"GeoGeneration":758,
"Name":"Bedienregel ViN(5065.1)",
"Note":"Alleen op afroep",
"From":946681200000,
"To":946702740000,
"IsHoliday":false,
"IsMonday":true,
"IsTuesday":true,
"IsWednesday":true,
"IsThursday":true,
"IsFriday":true,
"IsSaturday":false,
"IsSunday":false
}
]
}
]
} https://www.vaarweginformatie.nl/wfswms/dataservice/1.3/817/operatingtimes/51586
|