speed-limit-server GET /speedLimit?lat={number}&lng={number} Returns the legal speed limit for the road nearest the given coordinates (within ~200m). Example: curl "http://localhost:3005/speedLimit?lat=33.7701&lng=-117.8107" Response: { "streetName": "Main St", // unnamed roads have no OSM name tag "roadType": "residential", "maxSpeed": 25, // can be null - parsed from the OSM maxspeed tag, in mph; null if the road has no maxspeed tag "knownSpeed": 25, // maxSpeed if known, else the legal-default guess "isGuessed": false, // true when knownSpeed came from the legal-default table "stateCode": null // e.g. "US-CA"; only resolved when maxSpeed is null } Errors: 400 - missing/invalid lat or lng 404 - no road found within ~200m of the given point