Question

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

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

Userlevel 2
Badge +17
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

Reply