-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible isochrones #49
Comments
Here's a reproducible example for Sitka:
And here's one for Anchorage: |
Ouch, It's much worst than I thought! |
I pushed a fix to this problem. |
When I run
osrmIsochrone
for a set of points in Alaska, it returns some impossible results. I'm running a local osrm server based on https://download.geofabrik.de/north-america/us/alaska-latest.osm.pbfAt first, the results look plausible:
But on closer inspection, they don't make any sense. Here, for example, is Sitka, Alaska:
What I'm doing here is plotting the service area (60 minutes' driving time) for a facility (orange dot) as compared with the census tracts for the area. The isochrone for the service area is blue; the different census tracts are in purple/green. I have confirmed that the
proj4string
s for both the census tract polygons and the isochrones are exactly the same.What doesn't make sense about the isochrone plotted in the image above is that the roads around Sitka, Alaska, don't extend for more than 10 miles. There's no way that you could traverse Baranof Island and reach the next island to the east simply by driving for an hour. There's no roads. Also, there's a mountain range and a sea strait in the way. The inaccuracy of the isochrone affects my analysis, because it would suggest that I include a census tract in the Sitka facility's service area which, in fact, is not reachable within a 60 minute drive.
So I used the
osrm-frontend
to look up whatosrm-backend
is doing. Here's the route it gives me when I try to plot a course from Sitka to the eastern side of Baranof Island:It would take three days to hike from the end of the road, as pictured above, to the eastern side of Baranof Island. But the directions given above don't mention that — and
osrmIsochrone
, for a reason I can't determine, believes you can drive all the way to the next island within 60 minutes.Additionally, the isochrones for Anchorage suggest that most of Anchorage Bay is driveable. It is not, even in winter. Here's a plot of the facilities without isochrones:
Here's the facilities' 60-minute isochrones, suggesting a drive into the bay:
I still have isochrones for facilities in 49 other states to plot, so I don't know if the issue is with the map, or with
osrmIsochrone
, or withosrm-backend
, but this is not an auspicious start. I have some doubts that isochrones produced for the facilities in the other 49 states would be analytically valid.The text was updated successfully, but these errors were encountered: