Mark, First, as error log says, you have to check and validate [MakeValid()] your spatial objects in SQL server database. This is related to topology (for example its not allowed to have two vertex with the same coordinate in line or polyline object etc.etc...). I dont know which method you have used to upload data via shapefile but some methods, like uploading through some GIS software (MapInfo), automatically execute MakeValid() function.
Second, all spatial objects in your SQL server table MUST HAVE a valid SRID if you want to publish them in GeoServer. Also on the other side (in GeoServer) you have to set the same coordinate system (SRID). So, execute MakeValid() and set SRID for all objects in SQL server table. Dont forget that you will have that SRID defined also in GeoServer. After this, you will be able to populate bounding box fields and see objects in preview. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/SQL-Server-Problem-tp5060024p5060360.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
