PostGIS script to determine network distance matrix between all centreline segments #17
Open
1 of 6 tasks
Labels
miniproject
Work self-contained enough to be treated as small projects
TEPs-I unpacks the
shortest_path.zip
file and transforms it intodistance_short
, a lookup table of arterial and expressway centreline IDs and the network distances to all neighbouring arterial and expressway IDs within a 2km Euclidean radius. Distances between centreline segments is most needed forroadkrige
, but can also be used for nearest neighbour lookup incountmatch
. Creating a network distance matrix is something that should be done either in Pandana or in PostGIS; since we'll be storing raw input data on PostGIS, the latter is the most reasonable choice.gis.centreline_distances
table on PostGIS that stores network distances between arterial centreline segment midpoints and all neighbouring arterial & expressway midpoints, as well as the midpoints of any local roads with AADTs above 2000 (very unlikely).gis.centreline_distances
.Ideally we would also determine the network distances to all local roads so we can explore additional methods for modelling, but we need to be selective about road class since the number of segments would triple from 16,000 to 43,000 if we included all local roads, adding a factor of 10 to the size of the distance matrix.
The text was updated successfully, but these errors were encountered: