check the FAQ and debugging link on the pm wiki armin
On 03/02/2010 16:09, Matías Manuel Grandi wrote: > Hi! I'm still with problems with pmapper 4 and ms4w. > Now, pmapper is generating the files in the ms_tmp files, but they are not > displayed in the screen. The "loading..." message don't dissapear. > Here is my map file: > > > MAP >> EXTENT -59.7177 -35.4223 -57.7094 -33.8073 >> >> UNITS dd >> SIZE 600 500 >> SHAPEPATH "../../../pmapper_demodata/" >> SYMBOLSET "../common/symbols/symbols-pmapper.sym" >> FONTSET "../common/fonts/msfontset.txt" >> RESOLUTION 96 >> IMAGETYPE png >> INTERLACE OFF >> #CONFIG "PROJ_LIB" "C:/proj/nad/" >> PROJECTION >> "proj=latlong" >> END >> >> OUTPUTFORMAT >> NAME "png" >> DRIVER "GD/PNG" >> MIMETYPE "image/png" >> IMAGEMODE RGB >> FORMATOPTION INTERLACE=OFF >> TRANSPARENT OFF >> EXTENSION "png" >> END >> >> OUTPUTFORMAT >> NAME "png8" >> DRIVER "GD/PNG" >> MIMETYPE "image/png" >> IMAGEMODE PC256 >> FORMATOPTION INTERLACE=OFF >> TRANSPARENT OFF >> EXTENSION "png" >> END >> >> OUTPUTFORMAT >> NAME "jpeg" >> DRIVER "GD/JPEG" >> MIMETYPE "image/jpeg" >> IMAGEMODE RGB >> FORMATOPTION "QUALITY=70" >> EXTENSION "jpg" >> END >> >> OUTPUTFORMAT >> NAME GTiff >> DRIVER "GDAL/GTiff" >> MIMETYPE "image/tiff" >> IMAGEMODE RGB >> #FORMATOPTION "TFW=YES" >> #FORMATOPTION "COMPRESS=PACKBITS" >> EXTENSION "tif" >> END >> >> OUTPUTFORMAT >> NAME imagemap >> MIMETYPE "text/html" >> FORMATOPTION SKIPENDTAG=OFF >> DRIVER imagemap >> END >> >> # >> # Start of web interface definition >> # >> WEB >> TEMPLATE "map.html" >> IMAGEPATH "C:\ms4w\tmp\ms_tmp\" >> IMAGEURL "/ms_tmp/" >> METADATA >> #"MAPFILE_ENCODING" "ISO-8859-1" >> #"ows_title" "WMS Demo Server" >> #"ows_onlineresource" "http://wms.yourserver.org?owskey=test&" >> #"ows_srs" "EPSG:3035 EPSG:4326" >> END # Metadata >> END # Web >> >> # >> # Start of Reference map definition >> # >> REFERENCE >> EXTENT -59.7177 -35.4223 -57.7094 -33.8073 #2200000 1400000 8000000 >> 5400000 >> IMAGE "../../images/reference.png" >> SIZE 199 149 >> COLOR -1 -1 -1 >> OUTLINECOLOR 255 0 0 >> END # Reference >> >> LEGEND >> END >> >> # >> # Start of ScaleBar definition >> # >> SCALEBAR >> STATUS off >> TRANSPARENT off >> INTERVALS 4 >> SIZE 200 3 >> UNITS kilometers >> COLOR 250 250 250 >> OUTLINECOLOR 0 0 0 >> BACKGROUNDCOLOR 100 100 100 >> STYLE 0 >> POSTLABELCACHE true >> LABEL >> COLOR 0 0 90 >> #OUTLINECOLOR 200 200 200 >> SIZE small >> END # Label >> END # Reference >> >> >> >> # SYMBOLS USED IN PMAPPER >> # - 'circle' always necessary (used e.g. for highlight) >> # - 'square' used in currecnt map file >> # Symbols can also be defined via tag SYMBOLSET (see above) >> Symbol >> Name 'circle' >> Type ELLIPSE >> Filled TRUE >> Points >> 1 1 >> END >> END >> >> Symbol >> Name 'square' >> Type VECTOR >> Filled TRUE >> Points >> 0 1 >> 0 0 >> 1 0 >> 1 1 >> 0 1 >> END >> END >> >> >> #================== START OF LAYER SECTION =====================# >> LAYER >> NAME 'departamentos' >> TYPE POLYGON >> DATA "departamentos.shp" >> METADATA >> 'wms_title' 'departamentos' >> END >> STATUS DEFAULT >> TRANSPARENCY 100 >> PROJECTION >> "proj=latlong" >> END >> CLASS >> NAME 'departamentos' >> STYLE >> SYMBOL 0 >> SIZE 2 >> OUTLINECOLOR 0 0 0 >> COLOR 97 136 146 >> END >> END >> END >> END #Map >> >> > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users