Hello Armin; Hello Pmapper users, Am using ms4w 2.3.1 and pmapper 4.0.....am having a problem. the reference map and the legend load quite okay but the main screen is blank. When I pick the identify tool and click on the blank space, it generates the results.also the image is generated in the TEMP folder. Kindly help me fix this problem.
HERE IS MY MAP FILE: # Map file created from QGIS project file C:/ms4w/apps/pmapper/kenya/new/provinces.qgs # Edit this file to customize for your map interface # (Created with PyQgis MapServer Export plugin) MAP NAME prov # Map image size SIZE 800 600 UNITS meters EXTENT 31.426681 -4.902209 44.397315 5.727571 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END # Background color for the map canvas -- change as desired IMAGECOLOR 192 192 192 IMAGEQUALITY 95 IMAGETYPE png OUTPUTFORMAT NAME png DRIVER 'GD/PNG' MIMETYPE 'image/png' #IMAGEMODE PC256 EXTENSION 'png' END # 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. TEMPLATE "map.html" IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" # Set IMAGEURL to the url that points to IMAGEPATH # as defined in your web server configuration # WMS server settings METADATA 'wms_title' 'prov' 'wms_onlineresource' 'http://my.host.com/cgi-bin/mapserv?map=wms.map&' 'wms_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 END REFERENCE EXTENT 31.426681 -4.902209 44.397315 5.727571 IMAGE "C:/ms4w/apps/pmapper/pmapper-4.0.0/images/provinces.png" SIZE 199 149 COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 END # Reference LAYER NAME 'Kenya_province' TYPE POLYGON DATA 'C:\ms4w\apps\pmapper\kenya\Kenya_province.shp' METADATA 'wms_title' 'Kenya_province' END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END CLASS NAME 'Kenya_province' STYLE SYMBOL 0 SIZE 2 OUTLINECOLOR 0 0 0 COLOR 144 50 207 END TEMPLATE void END END END ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users