anyways-open / itinero-transit-server

Wrapper around itinero-transit to make it available as HTTP-service
MIT License
2 stars 0 forks source link

Weird order of stops #14

Closed pietervdvn closed 5 years ago

pietervdvn commented 5 years ago

https://routing.anyways.eu/transitapi/geojsonjourney?from=https%3A%2F%2Fwww.openstreetmap.org%2F%23map%3D19%2F51.1714445%2F4.144799&to=https%3A%2F%2Fwww.openstreetmap.org%2F%23map%3D19%2F51.036736000000005%2F3.711139&departure=2019-07-11T09%3A00%3A00.000Z

gives a weird order

{"type":"FeatureCollection","features":[{"geometry":{"type":"LineString","coordinates":[[4.144799,51.1714439],[4.1429615,51.1714745]]},"properties":{"stroke":"#2e3f57"},"type":"Feature"},{"geometry":{"type":"LineString","coordinates":[[4.1429615,51.1714745],[4.25951958,51.20834]]},"properties":{"stroke":"#5c514b"},"type":"Feature"},{"geometry":{"type":"LineString","coordinates":[[4.25951958,51.20834],[4.1429615,51.1714745],[4.088604,51.1509933],[3.98779035,51.1080666],[4.068938,51.1434],[3.8793807,51.08753],[3.74058723,51.056366],[3.756321,51.0386467],[3.71067,51.0359]]},"properties":{"stroke":"#8a623f"},"type":"Feature"},{"geometry":{"type":"LineString","coordinates":[[3.71067,51.0359],[3.711139,51.0367355]]},"properties":{"stroke":"#b87333"},"type":"Feature"}]}

pietervdvn commented 5 years ago

Duplicate of #21