This is a known issue that was recently fixed [1]. If you upgrade to a
recent nightly build it should work.

[1] http://jira.codehaus.org/browse/GEOS-4165

2010/10/13 marwa El-said <[email protected]>

>  Hi all,
>
> I'm using geoserver 2.0.2 and sql server 2008
> I got this error while trying to compute bounds of my sql server 2008 layer
> of type ploygon and get this error
>
> Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: A .NET
> Framework error occurred during execution of user-defined routine or
> aggregate "geometry": System.ArgumentException: 24144: This operation cannot
> be completed because the instance is not valid. Use MakeValid to convert the
> instance to a valid instance. Note that MakeValid may cause the points of a
> geometry instance to shift slightly. System.ArgumentException: at
> Microsoft.SqlServer.Types.SqlGeometry.ThrowIfInvalid() at
> Microsoft.SqlServer.Types.SqlGeometry.STEnvelope() . at
> com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:197)
> at
> com.microsoft.sqlserver.jdbc.SQLServerResultSet$FetchBuffer.nextRow(SQLServerResultSet.java:4762)
> at
> com.microsoft.sqlserver.jdbc.SQLServerResultSet.fetchBufferNext(SQLServerResultSet.java:1682)
> at
> com.microsoft.sqlserver.jdbc.SQLServerResultSet.next(SQLServerResultSet.java:955)
> at
> org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java:169)
> at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1040)
>
>
> is this a problem of my layer it self?
> what is the error that make geoserver can't comput the Lat/Lon Bounding Box
> of my layer?
> could any one help me on that?
>
> Thanks,
>
> *Marwa Elsaid*
>
>  <http://www.gt-egypt.com/>
>
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to