Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 014f568
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/mapserver_export/ms_export.py
Expand Up @@ -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
Expand Down

0 comments on commit 014f568

Please sign in to comment.