QGIS/tools/mapserver_export/test_export.py
gsherman f8d614d579 Minor change to the python test script
git-svn-id: http://svn.osgeo.org/qgis/trunk@4989 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-03-09 16:32:54 +00:00

9 lines
268 B
Python
Executable File

#!/usr/bin/python
# test script to export a sample QGIS project file to mapserver
import ms_export
ex = ms_export.Qgis2Map('./test1.qgs', './test1.map')
ex.setOptions( 'Meters', 'PNG', 'TestMap', '800', '600', '','','template', 'header', 'footer')
ex.writeMapFile()