API reference#
The API reference provides an overview of all public functions in neatnet
.
Network Simplification Routines#
The top-level function that performs complete adaptive simplification of street networks
is the primary API of neatnet
.
|
Top-level workflow for simplifying networks. |
Simplification Components#
Some of the individual components are also exposed as independent functions (note that
all are consumed by simplify_network()
).
Either as combined routines:
|
Return geometry with consolidated nodes. |
|
Fix road network topology. |
Or as their atomic components:
|
Reimplementation of |
|
Adding potentially missing nodes on intersections of individual LineString endpoints with the remaining network. |
|
Identify face artifacts in street networks. |
Additional functions#
Some of the functions for specific pre-processing tasks that are not part of the simplification routine:
|
Close gaps in LineString geometry where it should be contiguous. |
|
Extends lines from gdf to itself or target within a set tolerance |
Internal components#
For debugging purposes, users may use some parts of the internal API.
|
Extract face artifacts and return the FAI threshold. |
|
Perform an iteration of the simplification procedure which includes: |
|
Simplification of singleton face artifacts – the first simplification step in the procedure detailed in |
|
Simplification of pairs of face artifacts – the second simplification step in the procedure detailed in |
|
Simplification of clusters of face artifacts – the third simplification step in the procedure detailed in |
None of the other functions is intended for public use and their API can change without a warning.