2012年2月16日 星期四

學 MS SQL GIS

Buffer/ 交集

DECLARE @g geometry;
SET @g = geometry::STGeomFromText('POINT(121.53496799999993 25.041786)', 0);
select housecase ,lat,lon, postulation_dry, postulation_dryimg, postulation_wet, postulation_wetimg
from housecase where @g.STBuffer(0.009).STIntersects(the_gemo)=1