Skip to content

Commit

Permalink
fix #2894
Browse files Browse the repository at this point in the history
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 75ce1bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/mapserver_export/ms_export.py
Original file line number Diff line number Diff line change
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 75ce1bc

Please sign in to comment.