Skip to main content
Question

I want to perform a spatial intersection of two polygon features to determine values.

  • November 9, 2015
  • 1 reply
  • 9 views

I have a SQL script that does the job but it takes too long (over 20 hours). I am hoping FME can perform better. Script is below:-

 

 

select Land_No, PropNum, Property_Address,b.SCHEME_CODE, b.ZONE_CODE, p.Geometry, p.SP_Geometry,

 

ROW_NUMBER()OVER(PARTITIONby p.Land_No ORDERBY p.Land_No)AS Dup

 

INTO CI_Plan_Zone

 

from LandVic.dbo.PropParcelOwner p, [External].dbo.PS_Zone b

 

where p.SP_Geometry.STIntersects(b.Geometry_SPA.STBuffer(-0.1))=1

 

 

regards

 

Phil
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.

1 reply

takashi
Celebrity
  • November 10, 2015
Hi Phil,

 

 

I'm not sure which is more efficient, the SQL query or FME transformers, but think the Bufferer and SpatialRelator can be used to get the same result as the query.

 

 

Takashi