Skip to content

Instantly share code, notes, and snippets.

@Redoute
Redoute / gse_servicearea.py
Created July 4, 2025 08:11
QGIS algorithm: service area, using cached network
# processing algorithm to compute service area
# Kai Borgolte (FORPLAN DR. SCHMIEDEL GmbH) 2025-07-04
# Unlike native:serviceareafrompoint the used network will be cached.
# The network layer must be segmented - each line has to be an edge
# with exactly two vertices.
# ToDo: delete temporary start node from graph
# - doesn't work with QgsGraph, next time I'll use networkx