Hey everyone! New user to just started to played around with OSM, using Postgis with an OSM extract of the USA. I was wondering if it were possible to find every block in a city and their start+end coordinates? I was thinking of identifying every intersection and their connecting roads and then find out where the road leads until the next intersection, then take the lat+long of the intersecting points.Can anyone help with some general plan to get me started on the right direction? asked 27 Jan '17, 09:52 flames403 |
Not a direct answer to your question, but what you describe is exactly what Census blocks are. (see https://www.census.gov/geo/maps-data/data/tiger-line.html for details of all the TIGER data) The 2010 blocks probably won't be as accurate as OSM data, but would be much easier not having to create your own if they meet your needs.
Hey neuhausr. Would I be able to get the long and lats for start and end of the streets though? I want to be able to say intersec1 lat/long goes to intersec2 lat/long and those are the start and end points to one street block. Then do that for a while city and have every block defined as a pair of long/lats