May 2019
Beginner
170 pages
4h 9m
English
The directionality of the edges is defined in the oneway column. The definition for the column is provided in the data dictionary provided by the Geofabrik download site.
For edges with oneway == 'F', no changes are required. For edges with oneway == 'T', the current edges have to flip, that is, the source and target values must be swapped. For edges with oneway == 'B', additional edges replicating the edge need to be added and then swapped. The following lines of code will achieve the ...
Read now
Unlock full access