Solved

Sample raster data value from vector polyline.

  • 13 October 2022
  • 1 reply
  • 2 views

Badge +6

I have a raster with downpour data (with water depth in different areas) and a vector layer with sewer pipes data. I want to know the maximum water depth of a sewer pipe.

I have found an ArcGIS Analysis tool called Sample, is there anything like that in FME?

https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/sample.htm

icon

Best answer by ctredinnick 13 October 2022, 12:52

View original

1 reply

Userlevel 3
Badge +16

Quick method is to use a Snipper to take the pipe endpoint (vertex -1), and get the depth of the raster there with the PointOnRasterValueExtractor.

Complete method could be something like: Convert raster to polygon cells, intersect that with the pipes, creating list of every depth the pipe touches, then get the max value in that list. image

Reply