Hi, I've maked all the changes that you say and others that I found:
My first error was cause the type cartoline for symbols is no longer used. I erased all in my symbol file. The GD driver is no longer used for PNG output. So I've removed all the OUTPUTFORMAT blog. I've put a SHAPEPATH, I've erased the FONTSET but not the Symbolset cause I have a point shape. I've changed IMAGEPATH 'C:/ms4w/Apache/htdocs/ms_tmp/' and IMAGEURL '/ms_tmp/' I have all the folders and all data in C:/ms4w/Apache/htdocs/ Now, the message error is: *Content-type: text/html msReturnPage(): Web application error. Malformed template name (fooOnlyForWMSGetFeatureInfo).* And the code at time is: # Map file created from QGIS project file C:/Users/Francesc/Documents/Projectes_CAT_wgs.qgs # Edit this file to customize for your map interface # (Created with PyQgis MapServer Export plugin) MAP NAME "Projectes Auma UTM31" # Map image size SIZE 100 100 UNITS dd EXTENT -9.569062 32.926808 6.763360 44.857479 SYMBOLSET './symbols/symbols.sym' PROJECTION 'proj=longlat' 'datum=WGS84' 'no_defs' END SHAPEPATH 'C:/ms4w/Apache/htdocs/SHP/' # Background color for the map canvas -- change as desired IMAGECOLOR 255 255 255 IMAGEQUALITY 100 IMAGETYPE png # Legend LEGEND IMAGECOLOR 255 255 255 STATUS ON KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END END # Web interface definition. Only the template parameter # is required to display a map. See MapServer documentation WEB # Set IMAGEPATH to the path where MapServer should # write its output. IMAGEPATH 'C:/ms4w/Apache/htdocs/ms_tmp/' # Set IMAGEURL to the url that points to IMAGEPATH # as defined in your web server configuration IMAGEURL '/ms_tmp/' # WMS server settings METADATA 'ows_title' 'Projectes Auma UTM31' 'ows_onlineresource' 'http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Projectes_wgs84_v7.map' 'ows_srs' 'EPSG:4326' END #Scale range at which web interface will operate # Template and header/footer settings # Only the template parameter is required to display a map. See MapServer documentation TEMPLATE 'fooOnlyForWMSGetFeatureInfo' END LAYER NAME 'Provincias_wgs84' TYPE POLYGON DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT -9.569062 32.926808 6.763360 44.857479 DATA '/SHP/Provincias_wgs84.shp' METADATA 'ows_title' 'Provincias_wgs84' END STATUS OFF TRANSPARENCY 100 PROJECTION 'proj=longlat' 'datum=WGS84' 'no_defs' END CLASS NAME 'Provincias_wgs84' STYLE WIDTH 0.35 OUTLINECOLOR 0 0 0 END END END LAYER NAME 'Projectes_UTM31_wgs84' TYPE POINT DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT -9.569062 32.926808 6.763360 44.857479 DATA '/SHP/Projectes_UTM31_wgs84.shp' METADATA 'ows_title' 'Projectes_UTM31_wgs84' END STATUS OFF TRANSPARENCY 100 PROJECTION 'proj=longlat' 'datum=WGS84' 'no_defs' END CLASS NAME 'Projectes_UTM31_wgs84' STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 103 132 169 END END END END Thanks a lot! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/PyQgis-MapServer-Export-with-Mapserver-6-0-1-tp4350528p4352838.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user