Skip to main content
Question

How much land is within a certain area of a city

  • November 2, 2017
  • 5 replies
  • 22 views

Forum|alt.badge.img

Hi!

I've used the instructions on this page

https://knowledge.safe.com/questions/21627/finding-percentage-of-a-area-within-other-areas.html (clipper), since I'd like to know how much recreational land is within a certain service area (buffer zone) of each city in a region. The problem is that the method in the link above does'nt work for this, as far as I know, since the geographical buffer zones of the cities overlap each other. I'd like the final result to be a file with all of the cities and an attribute column with a number for the amount of recreational land (hectar) available.

I wonder if you could help me figure out how to achive this in FME? I am not looking forward to calculating this individually for each city, even though that would of course be an option.

Thank you!

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.

5 replies

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 2, 2017
Also see this tutorial: https://knowledge.safe.com/articles/28735/extracting-polygon-intersections.html

 

Although it might not help with the overlapping zones (I'm looking into that) it will be a general help.

 

 


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • November 2, 2017

I think this approach will work:

First establish a relationship between City and recreational area (using Spatial Filter and setting the City ID on the recreational area). If the rec area is in more than one City, use a list and follow with a ListExploder to duplicate the rec area for each City.

Then you could use a Clipper or AreaonAreaOverlayer, grouping by the city ID (which by now should also be on the rec area).

That would give you the overlapping polygons for the City's rec areas.

If need be the Aggregator (group by City ID) will create 1 feature per City.

The AreaCalculator will calculate the area size.


takashi
Celebrity
  • 7843 replies
  • November 2, 2017

Hi @elinbr, similar to @erik_jan's approach. Assuming that buffer areas have unique ID attribute, make copies of each land for every intersecting buffer zone, and then clip the lands by buffer zones grouping by buffer ID.


Forum|alt.badge.img
  • Author
  • 4 replies
  • November 2, 2017

It worked! Thank you so much for this - you made my week :)


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 2, 2017

Another solution. This one uses the AreaOnAreaOverlayer. The problem with the Clipper is that it has no list capability: it can't create a list of areas that each buffer zone overlaps (or vice versa). The AreaOnAreaOverlayer can create such a list.

 

multiplepolygonintersections.fmwt