Skip to main content
Solved

Need easy way of calculating/exporting min/max width of polygon

  • January 7, 2016
  • 29 replies
  • 887 views

Show first post
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.

29 replies

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • January 18, 2016

Unfortunately I also don't know how you can use the ArcGIS Python function in FME workspace.

I upgraded my previous solution. The attached workspace is not perfect, but generates "better" cross sections for some areas as shown in this image. estimate-river-cross-sections.zip

The key point is how to create "clean" center line for the river area, and the Generalizer might be useful in this case. However, the best solution could be different depending on the actual data condition. As @rollo mentioned at first, I think you cannot avoid doing trial and error approach to find appropriate solutions for each area. Good luck!

Excellent work


takashi
Celebrity
  • January 18, 2016

Unfortunately I also don't know how you can use the ArcGIS Python function in FME workspace.

I upgraded my previous solution. The attached workspace is not perfect, but generates "better" cross sections for some areas as shown in this image. estimate-river-cross-sections.zip

The key point is how to create "clean" center line for the river area, and the Generalizer might be useful in this case. However, the best solution could be different depending on the actual data condition. As @rollo mentioned at first, I think you cannot avoid doing trial and error approach to find appropriate solutions for each area. Good luck!

Extension. I published a custom transformer named BoundsSplitter in the FME Store. It implements the algorithm similar to the ArcGIS python function ;)


Forum|alt.badge.img
  • Author
  • January 19, 2016

Unfortunately I also don't know how you can use the ArcGIS Python function in FME workspace.

I upgraded my previous solution. The attached workspace is not perfect, but generates "better" cross sections for some areas as shown in this image. estimate-river-cross-sections.zip

The key point is how to create "clean" center line for the river area, and the Generalizer might be useful in this case. However, the best solution could be different depending on the actual data condition. As @rollo mentioned at first, I think you cannot avoid doing trial and error approach to find appropriate solutions for each area. Good luck!

Yes, thank you for the best FME solution to this problem. I appreciate all your efforts. Hopefully I can buy you a non-trivial beverage some day.

Best,

Pete


Forum|alt.badge.img
  • October 18, 2019

Unfortunately I also don't know how you can use the ArcGIS Python function in FME workspace.

I upgraded my previous solution. The attached workspace is not perfect, but generates "better" cross sections for some areas as shown in this image. estimate-river-cross-sections.zip

The key point is how to create "clean" center line for the river area, and the Generalizer might be useful in this case. However, the best solution could be different depending on the actual data condition. As @rollo mentioned at first, I think you cannot avoid doing trial and error approach to find appropriate solutions for each area. Good luck!

Many thanks for this Takashi - I managed to adapt the workspace for us to calculate minimum widths of our roadside nature reserves - invaluable!

Best wishes,

Jane