mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
9 lines
243 B
Python
Executable File
9 lines
243 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', 'JPEG', 'TestMap', '800', '600', '', '', '')
|
|
|
|
ex.writeMapFile()
|