在PLSQL中執行ST空間查詢出現錯誤:
區域條件查詢SQL空間查詢語句:
Select count(tln.objectid) as cid From 表空間名.表名 tln where sde.st_intersects(tln.shape,sde.st_buffer(sde.st_geometry('polygon ((49971.1664251336 42122.0686524059, 49971.1664251336 42122.0686524059, 49971.1026871657 42121.7741390369, 49971.6059973261 42121.7873262026, 49971.5268743315 42122.1389839567, 49971.1664251336 42122.0686524059,49971.1664251336 42122.0686524059))',2),0))=1 and (GJ = '200')
錯誤原因:服務器端沒有配置ST_Geometry查詢配置
解決方法:進行SQL空間查詢ST_Geometry配置
配置方法連接:http://download.csdn.net/detail/liujingkun123/4086421QQ:78910938
