[OSRM-talk] incomplete "mapped_coordinate" returned
Dennis Luxen
dennis.luxen at gmail.com
Wed Aug 14 19:09:25 UTC 2013
Acknowledged. I will debug this tomorrow. Currently, my suspicion is that the integer to string conversion somehow fails.
--Dennis
Am 14.08.2013 um 19:56 schrieb Matt Perry <perrygeo at gmail.com>:
> Still broken on my end ...
>
> $ wget -O temp.out
> http://router.project-osrm.org/nearest?loc=44.530451,-122.517537
> --2013-08-14 10:27:11--
> http://router.project-osrm.org/nearest?loc=44.530451,-122.517537
> Resolving router.project-osrm.org... 141.3.85.1
> Connecting to router.project-osrm.org|141.3.85.1|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 127 [application/x-javascript]
> Saving to: `temp.out'
>
> 100%[======================================================================================================================================================================>]
> 127 --.-K/s in 0s
>
> 2013-08-14 10:27:12 (17.6 MB/s) - `temp.out' saved [127/127]
>
> $ cat temp.out
> {"version":0.3,"status":0,"mapped_coordinate":[44.530464,],"name":"","transactionId":"OSRM
> Routing Engine JSON Nearest (v0.3)"}
>
> On Sun, Aug 11, 2013 at 12:07 PM, Dennis Luxen <dennis.luxen at gmail.com> wrote:
>> Appears to work now after the latest code update. I'll see if this occurs again.
>>
>> --Dennis
>>
>> Am 10.08.2013 um 00:17 schrieb Matt Perry <perrygeo at gmail.com>:
>>
>>> Using this URL:
>>>
>>> http://router.project-osrm.org/nearest?loc=44.530451,-122.517537
>>>
>>> gives the following response:
>>>
>>> '{"version":0.3,"status":0,"mapped_coordinate":[44.530607,],"name":"","transactionId":"OSRM
>>> Routing Engine JSON Nearest (v0.3)"}'
>>>
>>> Note the invalid JSON due to the incomplete coordinate (no longitude
>>> for mapped_coordinate). Any ideas on how to solve this?
>>>
>>>
>>> --
>>> ·´¯`·.¸. , . .·´¯`·.. ><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>
>>>
>>> Matthew T. Perry
>>>
>>> _______________________________________________
>>> OSRM-talk mailing list
>>> OSRM-talk at openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/osrm-talk
>>
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/osrm-talk
>
>
>
> --
> ·´¯`·.¸. , . .·´¯`·.. ><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>
>
> Matthew T. Perry
>
> "The best way to predict the future is to invent it." -- Alan Kay
> http://www.perrygeo.net
>
> "May your trails be crooked, winding, lonesome, dangerous, leading to
> the most amazing view." -- Edward Abbey
> http://viedevelo.wordpress.com
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osrm-talk
More information about the OSRM-talk
mailing list