Experimental

Overlays two route event layers by interval overlap.

vector linear-referencing events overlay

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`primary_events` | Primary event layer. | Required | `primary_events.gpkg`
`overlay_events` | Overlay event layer. | Required | `overlay_events.gpkg`
`primary_route_field` | Primary layer route identifier field. | Required | `route_id`
`primary_from_measure_field` | Primary layer interval start field. | Required | `from_m`
`primary_to_measure_field` | Primary layer interval end field. | Required | `to_m`
`overlay_route_field` | Overlay layer route identifier field. | Required | `route_id`
`overlay_from_measure_field` | Overlay layer interval start field. | Required | `from_m`
`overlay_to_measure_field` | Overlay layer interval end field. | Required | `to_m`
`min_overlap_length` | Minimum overlap length to keep (default 0.0). | Optional | `0.0`
`output` | Output overlay layer. | Required | —

## Examples

Computes overlapping route-event intervals between two event layers.

    wbe.route_event_overlay(min_overlap_length=0.0, output='events_overlay.gpkg', overlay_events='overlay_events.gpkg', overlay_from_measure_field='from_m', overlay_route_field='route_id', overlay_to_measure_field='to_m', primary_events='primary_events.gpkg', primary_from_measure_field='from_m', primary_route_field='route_id', primary_to_measure_field='to_m')

## Project Links

WbW Homepage User Manual Support WbW