Skip to main content
Question

Best performance for spatial filtering

  • December 16, 2015
  • 2 replies
  • 94 views

Forum|alt.badge.img

I am trying to take parcels for a state and figure out which ones are within a set boundary. Is it faster to do a SpatialFilter or a Clipper?

What is the best tool for performance?

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

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • December 16, 2015

Depends on the format the parcels are in.

If this is a spatially enabled database or a spatially indexed format, the FeatureReader will be the best option, because the index will be used and not all data will be read into FME.


davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • December 17, 2015

...also, what is the impact of a feature crossing a boundary? This may determine which tool to use. If you clip and a feature crosses a boundary you'll at least know that now you have a duplicated ID with a different state ID recorded against it.

Or if you don't care about the overlap you could just turn your parcels into points using the InsidePointReplacer and then pass them both into the PointOnAreaOverlayer making sure you set the first reader to be the state boudaries reader and then set the PointOnAreaOverlayer's 'Areas First' parameter to "Yes".