Hi,

I'm busy running through the tutorial at
http://suite.opengeo.org/docs/latest/qgis/explorer/tutorial/index.html
but at step 10, after I click OK to publish the 'dem' layer (a
raster), I get the following error:

-----
'QgsRasterLayer' object has no attribute 'geometryType'
Traceback (most recent call last):
  File 
"C:/PROGRA~2/BOUNDL~1/QGIS/qgis/apps/qgis/./python/plugins\opengeo\gui\explorer.py",
line 111, in run
    command(*params)
  File 
"C:/PROGRA~2/BOUNDL~1/QGIS/qgis/apps/qgis/./python/plugins\opengeo\qgis\catalog.py",
line 475, in publishLayer
    sld = self.publishStyle(layer, overwrite, name)
  File 
"C:/PROGRA~2/BOUNDL~1/QGIS/qgis/apps/qgis/./python/plugins\opengeo\qgis\catalog.py",
line 148, in publishStyle
    sld, icons = getGsCompatibleSld(layer)
  File 
"C:/PROGRA~2/BOUNDL~1/QGIS/qgis/apps/qgis/./python/plugins\opengeo\qgis\sldadapter.py",
line 199, in getGsCompatibleSld
    return adaptQgsToGs(sld, layer)
  File 
"C:/PROGRA~2/BOUNDL~1/QGIS/qgis/apps/qgis/./python/plugins\opengeo\qgis\sldadapter.py",
line 61, in adaptQgsToGs
    if layer.geometryType() == QGis.Point:
AttributeError: 'QgsRasterLayer' object has no attribute 'geometryType'
-----

When I Googled it, I just get one unanswered question in StackExchange:
http://gis.stackexchange.com/questions/183100/qgis-opengeo-explorer-plugin-fails-when-publishing-with-qgsrasterlayer-object

Does anyone know what is going on?

Thanks
Hanlie
_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to