{"action":"opened","issue":{"url":"https://api.github.com/repos/ustroetz/python-osrm/issues/2","labels_url":"https://api.github.com/repos/ustroetz/python-osrm/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ustroetz/python-osrm/issues/2/comments","events_url":"https://api.github.com/repos/ustroetz/python-osrm/issues/2/events","html_url":"https://github.com/ustroetz/python-osrm/issues/2","id":105960590,"number":2,"title":"ValueError: cannot convert float to NaN to integer ","user":{"login":"gisxperts","id":9451985,"avatar_url":"https://avatars.githubusercontent.com/u/9451985?v=3","gravatar_id":"","url":"https://api.github.com/users/gisxperts","html_url":"https://github.com/gisxperts","followers_url":"https://api.github.com/users/gisxperts/followers","following_url":"https://api.github.com/users/gisxperts/following{/other_user}","gists_url":"https://api.github.com/users/gisxperts/gists{/gist_id}","starred_url":"https://api.github.com/users/gisxperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisxperts/subscriptions","organizations_url":"https://api.github.com/users/gisxperts/orgs","repos_url":"https://api.github.com/users/gisxperts/repos","events_url":"https://api.github.com/users/gisxperts/events{/privacy}","received_events_url":"https://api.github.com/users/gisxperts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-11T07:45:04Z","updated_at":"2015-09-11T07:45:04Z","closed_at":null,"body":"osrm responds with integer values in table, leads on windows (python 2.7.10, numpy 1.9.2, download python_osrm last night) to the error message\r\n'ValueError: cannot convert float to NaN to integer ' for line 201.\r\n\r\nmy quick and dirty workaround was \r\nmat[mat == 3579139.4] = -9999, \r\nbut better would be to have the array always created as float, or check what type of array is created and depending on the outcome assign proper NaN.  "}}