Skip to main content

Does anyone know of a way to replicate ArcGIS “Locate features along route” functionality?

Specifically, I have a network shapefile (polylines) and a separate polygon shapefile. I am wanting to know which lines are contained within which polygons and for the lines that are partially contained within the polygons, I want to know the start and end length in metres (from direction of travel) along the lines that the polygon intersects.

Thank you in advance.

Hello @sideshowt

 

I suggest you to use the transformer LineOnAreaOverlayer to check the lines inside Polygons

 

Thanks,

Danilo


Before using the LineOnAreaOverlayer, you could use a MeasureGenerator to generate measures on each line. That way you can use the MeasureExtractor after the LineOnAreaOverlayer to get the start and end values for each intersection.