[Geoserver-devel] [jira] (GEOS-5175) Unable to publish layer from Sql Server 2012 spatial

Bernhard Kamps created BugGEOS-5175
Unable to publish layer from Sql Server 2012 spatial

Issue Type:

BugBug

Affects Versions:

2.1.4, 2.1.3

Assignee:

Andrea Aime

Components:

SQLServer

Created:

18/Jun/12 4:20 PM

Description:

I have used FME to upload an autocad drawing to SQL Server 2012 Spatial. When I connect to the SQL Server 2012 from Geoserver I am able to see the appropriate layers. When I try to publish a layer, I must select a Declared CRS. Since a CRS is not provided in the source data, I select one from the Geoserver dialog. Then, when I click the Compute From Data I get the following error at the bottom of the stacktrace:

No code “EPSG:0” from authority “European Petroleum Survey Group” found for object of type “IdentifiedObject”.

I could provide the entire stacktrace if it would be helpful.

I validated that the geometry field in the sql server db is valid.

Thanks,
Bernie

Environment:

Windows 7, SQL Server 2012 Spatial, Geoserver 2.1.4/2.1.3

Fix Versions:

2.1.x

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Bernhard Kamps

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)