Skip to main content

Module geojson

Module geojson 

Source
Expand description

GeoJSON parsing and writing

Modules§

detections
GeoJSON parser for punctual & linear detections (T010).

Functions§

parse_gnss_geojson
Parse GNSS positions from GeoJSON file
parse_gnss_geojson_str
In-memory variant of parse_gnss_geojson that accepts the GeoJSON FeatureCollection text directly. No disk I/O is performed; required by the .NET bindings for database-backed callers (FR-012).
parse_netrelations_geojson
Parse netrelations from GeoJSON file
parse_network_geojson
Parse railway network from GeoJSON file
parse_network_geojson_str
In-memory variant of parse_network_geojson that accepts the GeoJSON FeatureCollection text directly. No disk I/O is performed; required by the .NET bindings for database-backed callers (FR-012).
parse_trainpath_geojson
Parse a [TrainPath] from a GeoJSON FeatureCollection file.
write_geojson
Write projected positions as GeoJSON FeatureCollection
write_network_geojson
Write a railway network (netelements + netrelations) as a GeoJSON FeatureCollection that round-trips through parse_network_geojson_str.
write_trainpath_geojson
Write TrainPath as GeoJSON FeatureCollection