urbica / galton

Lightweight Node.js isochrone map server
https://galton.urbica.co
MIT License
272 stars 36 forks source link

Return value maxes out at intervals=10 #148

Closed rhwang201 closed 7 years ago

rhwang201 commented 7 years ago

Following example setup

cd galton
wget https://s3.amazonaws.com/metro-extracts.mapzen.com/moscow_russia.osm.pbf
./node_modules/osrm/lib/binding/osrm-extract -p ./node_modules/osrm/profiles/car.lua moscow_russia.osm.pbf
./node_modules/osrm/lib/binding/osrm-contract moscow_russia.osrm
npm start -- moscow_russia.osrm

using http://download.geofabrik.de/north-america/us/california-latest.osm.pbf.

curl http://localhost:4000 --get --data 'lng=37.62&lat=55.75&intervals=10&intervals=20&&intervals=30' only returns one feature for time=10.

curl http://localhost:4000 --get --data 'lng=-122.139935&lat=37.422744&intervals=30' returns coordinates that looks exactly the same as those returned from intervals=10 (visualizing with geojson.io)

rhwang201 commented 7 years ago

Increased bufferSize