Skip to main content
Question

Buffer A rectangle with different outputs required for each side

  • November 25, 2019
  • 3 replies
  • 101 views

Hi guys

I am looking to create a buffer where I have a rectangle.

I would like the north and south to have a scale range of 1km and the east and west to have 2km. Then to have it all in one shape to show the buffer area.

What would the best way to do this with the buffer tool in fme. I have seen something with python which is possible but is there anything similar in FME.

Thanks

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.

3 replies

Forum|alt.badge.img
  • 104 replies
  • November 25, 2019

I'm supposing these buffers are always rectangles with strictly horizontal and vertical sides. Then you could create a 1 km buffer, clone it twice with a Cloner and use Offsetter to move the clones 1 km respectively east and west. You now have three rectangles that are overlapping. Finish by using a Dissolver to merge the three into one, keeping their aggregated footprint as your new buffer feature.


jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • November 25, 2019

I'm not sure the buffer would be able to do that.

 

 

What I would try is:
  1. Split your polygon into a line for each side.
  2. Identify the top/bottom sides vs the left/right sides (if Δx > Δy it's a top/bottom, if Δy > Δx it's a left/right)
  3. OffsetCurveGenerator (Right only, either 1 or 2km depending of which side)
  4. LineExtender (2km)
  5. Intersector
  6. AreaBuilder

 


deanhowell
Influencer
Forum|alt.badge.img+24
  • Influencer
  • 315 replies
  • November 26, 2019

Here is an option

bufferrect.fmw