Skip to content
Permalink
Browse files
fix #2894
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13937 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 19, 2010
1 parent 310495f commit 014f56889efb87d1c52b25d11c17dddf87201783
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/mapserver_export/ms_export.py
@@ -547,8 +547,11 @@ def writeMapLayers(self):
layer_def += " 'wms_style' '" + ','.join(wmsStyles) + "'\n"
layer_def += " END\n"

elif providerString == 'ogr':
layer_def += " DATA '" + dataString.split('|')[0] + "'\n"

else:
# its a standard ogr, gdal or grass layer
# it's a standard gdal or grass layer
layer_def += " DATA '" + dataString + "'\n"

# WMS settings for all layers

0 comments on commit 014f568

Please sign in to comment.