Skip to main content
Solved

Sample raster data value from vector polyline.

  • October 13, 2022
  • 1 reply
  • 56 views

asablomberg
Contributor
Forum|alt.badge.img+8

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

ctredinnick
Supporter
Forum|alt.badge.img+19
  • Supporter
  • 225 replies
  • 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