Export a QGIS Project to MapServer Map File

This tool allows you to export a saved QGIS project file to a MapServer map file. The tool is installed in your QGIS binary directory and can be used independently of QGIS. Only the Map file and QGIS project file inputs are required.

File Inputs

Map file
Enter the name for the map file to be created. You can use the button at the right to browse for the directory where you want the map file created.
Qgis project file
Enter the full path to the QGIS project file (.qgs) you want to export. You can use the button at the right to browse for the QGIS project file.

Map Parameters

These values are written to the map file in the appropriate spots to set things such as output image size, units and image type.
Name
A name for the map. This name is prefixed to all images generated by the MapServer.
Width
Width of the output image in pixels.
Height
Height of the output image in pixels.
Units
Units of measure used for output.
Image type
Format for the output image generated by MapServer

Web Interface Definition

Template
Full path to the MapServer template file to be used with the map file.
Header
Full path to the MapServer header file to be used with the map file.
Footer
Full path to the MapServer footer file to be used with the map file.