This appears to be a problem with your SQLServer (or the geometry), as
previously identified
(https://sourceforge.net/p/geoserver/mailman/message/36463520/).

 

The error is not coming from GeoServer.

 

Brad

 

From: Mike Poole <[email protected]> 
Sent: Saturday, 10 November 2018 5:41 PM
To: [email protected]
Subject: [Geoserver-users] t2258: GeoServer is Reporting Invalid Geometry

 

Hi all,

 

I am getting the following error for some of the geometry in one of my
layers:

 

"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."

 

I have checked that all the polygons in the SQL Server table are valid
(indeed three separate people in three separate organisations have done
this).

 

An example Polygon that will display in GeoServer and an example polygon
that will not display can be found here:

 

https://drive.google.com/open?id=1ZaI2_JoPsqqpzrocdbduuCSrFHcoSVnw

 

Best wishes,

Mike

Mike Poole |  <https://www.yachting.org/> Yachting Limited | t. 0131 666
2555

 

Can your website be improved? Test it at  <https://www.yachtrank.com/>
YachtRank for free.

 

 

 

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to