mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
9 lines
268 B
Python
Executable File
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()
|