Skip to main content
Question

Creating Polygons from Contours

  • September 1, 2014
  • 2 replies
  • 142 views

Forum|alt.badge.img
Hi folks,

 

 

I have some contour data and I would like to create polygon features which represents everywhere above or below a certain height.

 

 

So I want to feed in 5m contours and get polygons showing everywhere that is 6.2m or below.

 

 

cheers

 

 

IanM
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.

2 replies

david_r
Celebrity
  • September 1, 2014
Hi,

 

 

try using a LineJoiner with a Group By on the altitude attribute. If the contours don't line up perfectly, consider using a Snapper with a suitable tolerance first.

 

 

You can then use a GeometryCoercer with type fme_polygon to convert the line sections into polygons. You will probably want to pass it through a GeometryValidator next to detect any faulty polygons.

 

 

Finally you can use a Tester on the polygon's altitude attribute to filter out the ones you want to keep.

 

 

David

Forum|alt.badge.img
  • Author
  • September 1, 2014
many thanks