The number of points is less than required for feature
2010-03-25 08:37
633 查看
最近在用AE写一个Web服务,程序逻辑上没有问题,数据库是SQL Server 2005,数据在SDE上面。我的Web服务里面有一个空间查询的模块,计算某一个条件下的FeatureCount,可是每次执行到这里就会报错或者结果为零,重装数据库、SDE,甚至系统都重装了,问题依旧。我把数据尝试不放进SDE里面,就是以ShapeFile的格式再次运行程序,发现执行顺利结果正确。
可是为什么到SDE里面就不行了呢?
百思不得其解啊,后来跟师弟说了这个情况之后,帮我调试了一下,把ISpatialFilter的Geometry由原来的IGeometry换成了IPolygon,结果也照样执行顺利,结果正确。虽然很高兴解决了问题,但是为什么会这样还是不的其解,估计是ESRI的Bug吧。
在Google中搜索The number of points is less than required for feature会有不同的解决方案,因为出现这一错误的问题比较多,所以具体情况具体分析了。
如果你在做空间查询的时候出现一些莫名其妙的错误,可以尝试一下本方案。Good Luck!
可是为什么到SDE里面就不行了呢?
百思不得其解啊,后来跟师弟说了这个情况之后,帮我调试了一下,把ISpatialFilter的Geometry由原来的IGeometry换成了IPolygon,结果也照样执行顺利,结果正确。虽然很高兴解决了问题,但是为什么会这样还是不的其解,估计是ESRI的Bug吧。
在Google中搜索The number of points is less than required for feature会有不同的解决方案,因为出现这一错误的问题比较多,所以具体情况具体分析了。
如果你在做空间查询的时候出现一些莫名其妙的错误,可以尝试一下本方案。Good Luck!
相关文章推荐
- The number of points is less than required for feature
- eclipse运行错误 Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required
- version 1.7.0_17 of the JVM is not suitable for this product , Version 1.8 or greater i s required
- Version 1.4.2_03 of the JVM is not suitable for this product. Version:1.6 or greater is required.
- Row index must be greater than or equal to zero and less than the number of rows.
- Version 1.6.0_13 of the JVM is not suitable for this product. Version: 1.7 or greater is required.[Solved]
- Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- JBWEB002004: More than the maximum number of request parameters (GET plus POST) for a single request
- version 1.5.2-04 of the jvm is not suitable for this product. version:1.6 or greater is required
- Version 1.5 of the JVM is not suitable for this product.Version:1.6 or greater is required
- Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required
- Microsoft SQL Server 2008 R2 XML处理 One solution is to increase the number of characters retrieved from the server for XML data.
- Version 1.5.0_07 of the JVM is not suitable for this product. Version: 1.6 or greater is required.
- Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required
- White space is required before the attribute type in the declaration of attribute "t" for element "b
- The maximum number of processes for the user account running is currently , which can cause performance issues. We recommend increasing this to at least 4096.
- Version 当前jdk版本号 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- Android开发之Version 1.6.0_65 of the JVM is not suitable for this product, 1.8 or greater is required.
- Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.