Skip to main content
Question

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

  • November 9, 2015
  • 1 reply
  • 8 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

1 reply

takashi
Influencer
  • 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

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings