在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
也可参考本博客ST_Geometry配置文章。