Skip to content

Commit 014f568

Browse files
author
jef
committed
fix #2894
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13937 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 310495f commit 014f568

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/plugins/mapserver_export/ms_export.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,11 @@ def writeMapLayers(self):
547547
layer_def += " 'wms_style' '" + ','.join(wmsStyles) + "'\n"
548548
layer_def += " END\n"
549549

550+
elif providerString == 'ogr':
551+
layer_def += " DATA '" + dataString.split('|')[0] + "'\n"
552+
550553
else:
551-
# its a standard ogr, gdal or grass layer
554+
# it's a standard gdal or grass layer
552555
layer_def += " DATA '" + dataString + "'\n"
553556

554557
# WMS settings for all layers

0 commit comments

Comments
 (0)