Python API
get_network_line_endpoints(dataset_path, output_features, edge_type=3)
Retrieve the endpoints of network lines from the specified network dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dataset_path
|
Union[str, Path]
|
Path to the network dataset. |
required |
output_features
|
Union[str, Path]
|
Path to the output feature class. |
required |
edge_type
|
int
|
Type of network lines to retrieve. Default is 3 (highway ramps). |
3
|
Returns:
Name | Type | Description |
---|---|---|
Path |
Path
|
The endpoints feature class. |
Source code in src/get_highway_features/__main__.py
get_network_lines_midpoints(dataset_path, output_features, edge_type=3)
Retrieve the midpoints of network lines from the specified network dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dataset_path
|
Union[str, Path]
|
Path to the network dataset. |
required |
output_features
|
Union[str, Path]
|
Path to the output feature class. |
required |
edge_type
|
int
|
Type of network lines to retrieve. Default is 3 (highway ramps). |
3
|