Experimental

Creates routed point events from a CSV event table and a route layer.

vector linear-referencing events csv

Parameters

NameDescriptionRequiredDefault
routesInput route line layer.Requiredroutes.gpkg
eventsInput CSV event table path.Requiredpoint_events.csv
event_route_fieldCSV field containing route identifiers.Requiredroute_id
measure_fieldCSV field containing point-event measures.Requiredmeasure
route_id_fieldOptional route-layer field containing route identifiers. Defaults to feature FID.Optional
outputOutput point vector path.Required

Examples

Creates point events on routes from measure values stored in a CSV table.

wbe.route_event_points_from_table(event_route_field='route_id', events='point_events.csv', measure_field='measure', output='route_event_points.gpkg', route_id_field='RID', routes='routes.gpkg')

Project Links

WbW Homepage User Manual Learn More