[QGIS Commit] r13937 - trunk/qgis/python/plugins/mapserver_export
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Jul 19 11:28:46 EDT 2010
Author: jef
Date: 2010-07-19 15:28:46 +0000 (Mon, 19 Jul 2010)
New Revision: 13937
Modified:
trunk/qgis/python/plugins/mapserver_export/ms_export.py
Log:
fix #2894
Modified: trunk/qgis/python/plugins/mapserver_export/ms_export.py
===================================================================
--- trunk/qgis/python/plugins/mapserver_export/ms_export.py 2010-07-19 09:55:54 UTC (rev 13936)
+++ trunk/qgis/python/plugins/mapserver_export/ms_export.py 2010-07-19 15:28:46 UTC (rev 13937)
@@ -547,8 +547,11 @@
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
More information about the QGIS-commit
mailing list