I am not sure if this is happening only on me but I cannot publish geoserver services from any shapefile layers that are using web mercator projection,
It can be replicated with the following steps.
(Environment: Windows 7 x64 + QGIS v2.8.2 x86 (Standalone Installer) + OpenGeo Explorer 0.7.1)
Open an arbitrary shapefile in QGIS 2.8.2 32bit for Windows
Right-click the layer in Layers pane and choose "Save As" to open "Save vector layer as..." dialogue.
Set the CRS to "EPSG:3857, WGS 84 / Pseudo Mercator" to save a reprojected shapefile. (The rest options are left default)
Load the reprojected shapefile to QGIS.
Publish the reprojected layer to geoserver through OpenGeo Explorer.
6 The plugin succeeds to upload the shapefile and SLD and to publish the layer but fails to populate the projection, bounding box and styling settings. The error message tells the following
Could not set projection for layer [test_wm]. the layer has been created, but its projection should be set manually.
Traceback (most recent call last):
File "C:/Users/kitzilla/.qgis2/python/plugins\opengeo\gui\explorer.py", line 111, in run
command(*params)
File "C:/Users/kitzilla/.qgis2/python/plugins\opengeo\qgis\catalog.py", line 467, in publishLayer
storename=storename, title=title)
File "C:/Users/kitzilla/.qgis2/python/plugins\opengeo\qgis\catalog.py", line 369, in upload
raise Exception(msg % layer.name())
Exception: Could not set projection for layer [test_wm]. the layer has been created, but its projection should be set manually.
When EPSG:4326 (WGS 84) or EPSG:27700 (British National Grid) were chosen at step 3, the publishing succeeds without this error. Publishing PostGIS layers in web mercator is free from this issue too. Though for some reasons, I wished web mercator shapefiles were publishable through this plugin.
Hi,
I am not sure if this is happening only on me but I cannot publish geoserver services from any shapefile layers that are using web mercator projection,
It can be replicated with the following steps. (Environment: Windows 7 x64 + QGIS v2.8.2 x86 (Standalone Installer) + OpenGeo Explorer 0.7.1)
When EPSG:4326 (WGS 84) or EPSG:27700 (British National Grid) were chosen at step 3, the publishing succeeds without this error. Publishing PostGIS layers in web mercator is free from this issue too. Though for some reasons, I wished web mercator shapefiles were publishable through this plugin.