openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

locationtype in api rest not work #89

Closed stefanocudini closed 3 years ago

stefanocudini commented 3 years ago

@zabuTNT rebuilding using new gtfs having parent data...

otp api rest return parentStation but always locationType = 0

http://localhost:8080/otp/routers/default/index/stops?detail=true

testing in this branch: https://github.com/openmove/odh-mentor-otp/tree/otp-parent-gtfs

[
  {
    "id": "2:it:22021:501:0:9279",
    "name": "Gruber",
    "lat": 46.5433129358046,
    "lon": 11.3526081334373,
    "locationType": 0,
    "parentStation": "it:22021:501P",
    "wheelchairBoarding": 0,
    "vehicleType": -999,
    "vehicleTypeSet": false
  },
  {
    "id": "1:it:22021:501:0:9279",
    "name": "Gruber",
    "lat": 46.543282473892,
    "lon": 11.3527763800631,
    "locationType": 0,
    "wheelchairBoarding": 0,
    "vehicleType": -999,
    "vehicleTypeSet": false
  },
  ...
stefanocudini commented 3 years ago

same origin: https://github.com/openmove/odh-mentor-otp/issues/91