slv.measurements.mobile.network#

The TRAX network and its yards: line geometry, staged points, storage polygons, shed footprints, and the route-buffer filter used by the GPS merge.

Group-data source: UTA_TRAX.geojson (the lines) under $LINGROUP_DATA_DIR/spatial/transportation/light_rail. Packaged here: the yard polygons jrrsc.geojson and mrsc.geojson (storage_locations) and the shed footprints trax_depots.geojson (both data-derived except JRRSC’s yard, which is hand-drawn). Staged points along the lines are cached under $SLV_USER_DATA_DIR/trax.

Attributes

UTM12

UTM zone 12 N, the metric CRS used for distances and buffers.

storage_locations

Storage yards where the trains sleep, name -> packaged geojson (one polygon each).

Functions

filter_near_routes

Keep GPS points within buffer (in routes' CRS units) of any route.

get_geodf

Resolve a geometry argument: a GeoDataFrame, a path or packaged file to read, or False / None for no geometry (returns None).

group_dir

$LINGROUP_DATA_DIR, the lin-group data library.

load_depot_footprint

Packaged shed footprints at the service centers (trax_depots.geojson).

load_storage_polygons

All storage yards in storage_locations, one row each with a name.

load_trax_lines

The TRAX lines (UTA_TRAX.geojson under $LINGROUP_DATA_DIR), one row per line with its letter in line.

load_trax_points

Points every spacing m along the TRAX lines, with the lines they serve.

user_dir

$SLV_USER_DATA_DIR, where slv keeps derived data and caches.