阅读:1893回复:2
[求助][求助]:SearchShape 方法在SDE数据上的应用
<P>“When using SearchShape on a MapLayer derived from an SDE layer, the shape must lie within the bounds of the MapLayer object's Extent. To ensure your search <BR>shape is valid, use the Intersects method to test if the Extent of the shape may lie outside the Extent of the MapLayer. If it does, you can use the Intersect method to clip the search shape to the extent of the MapLayer, before performing the SearchShape method. ” </P>
<P>上面一段话是MO帮助文件里面说的,由于本人英语差,加上对mo的不够了解,希望高人帮忙解释下。</P> <P>我要解决的问题是在基于sde数据的SEARCHSHAPE方法使用。一样的程序在本地shp文件数据里好好的,可以查到结果,但是到了sde数据库里面就不行了,(数据经过测试没有问题)。等待达人进来啊,先谢了。。。</P> |
|
|
1楼#
发布于:2006-04-19 22:54
<P>我也想知道。</P>
<P>我用MO2.1查的的时候,有时有结果有时没有,与预期的常常不一致。不知道是什么原因。</P> |
|
2楼#
发布于:2008-03-11 14:01
我也遇到同样的问题:样的程序在本地shp文件数据里好好的,可以查到结果,但是到了sde数据库里面就不行了.<br>这是什么原因啊?<br>期待高手解答!!!!<br><img src="images/post/smile/dvbbs/em08.gif" />
|
|