Skip to content
Permalink
Browse files
fix #2894
git-svn-id: http://svn.osgeo.org/qgis/trunk@13937 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 19, 2010
1 parent a57ded8 commit 75ce1bce5ab5f0577c0d7d794ad62ff5d2dc34b4
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 75ce1bc

Please sign in to comment.