Skip to main content
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
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
many thanks

Reply