Skip to main content
Solved

Sample raster data value from vector polyline.

  • 13 October 2022
  • 1 reply
  • 28 views

asablomberg
Contributor
Forum|alt.badge.img+7

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

Best answer by ctredinnick

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

View original
Did this help you find an answer to your question?

1 reply

ctredinnick
Supporter
Forum|alt.badge.img+18
  • Supporter
  • Best Answer
  • October 13, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings