Experimental

Creates routed line events from a CSV event table and a route layer using from/to measures.

vector linear-referencing events csv

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`routes` | Input route line layer. | Required | `routes.gpkg`
`events` | Input CSV event table path. | Required | `line_events.csv`
`event_route_field` | CSV field containing route identifiers. | Required | `route_id`
`from_measure_field` | CSV field containing start measures. | Required | `from_m`
`to_measure_field` | CSV field containing end measures. | Required | `to_m`
`route_id_field` | Optional route-layer field containing route identifiers. Defaults to feature FID. | Optional | —
`output` | Output line vector path. | Required | —

## Examples

Creates line events on routes from from/to measures stored in a CSV table.

    wbe.route_event_lines_from_table(event_route_field='route_id', events='line_events.csv', from_measure_field='from_m', output='route_event_lines.gpkg', route_id_field='RID', routes='routes.gpkg', to_measure_field='to_m')

## Project Links

WbW Homepage User Manual Support WbW