OpenTripPlanner is not returning stops within a given radius

347 Views Asked by At

OTP 1.4.0 will return all of the stops in the GTFS feed but will not return nearby stops when provided with lat/lon and radius. Does anyone know why this is happening and how to resolve it?

http://{my-otp-server}/otp/routers/default/index/stops?&lat={double}&lon={-double}&radius=.25
    RETURNS []
http://{my-otp-server}/otp/routers/default/index/stops
    RETURNS 3078 ROWS
1

There are 1 best solutions below

1
Damion On BEST ANSWER

I found out through trial and error and by comparing results with a different API that the units for radius are meters.