[Mapserver-users] problem displaying a single image

Jan Hartmann j.l.h.hartmann at uva.nl
Mon Jun 21 09:18:10 EDT 2004


Eric, setting STATUS DEFAULT in the LAYER definition will probably 
display the image. STATUS is not required in the MAP part.

Jan

Belenfant Eric wrote:
> Hi ,
> i use mapserver 4.1 on W32, apache 1.3.27, php 4.3.3
> I try to display a map provided by MAPINFO but when i try the following URL
> http://127.0.0.1/cgi-bin/mapserv_41.exe?map=C%3A%5CProgram+Files%5CEasyPHP1-7%5Cwww%5Cmapserver%5Ccommune.map&mode=map 
> 
> i have no image displayed in the web browser
> 
> the mapserver configuration is :
> 
> MapServer version 4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
> OUTPUT=PDF O
> UTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER 
> SUPPORTS=WMS_CLIEN
> T SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=OGR INPUT=GDAL 
> INPUT=SHAPEFILE
> 
> the map is the following (commune.map):
> 
> MAP
>        NAME "Europe in purple"
>        SIZE 400 400
>        STATUS ON
>        UNITS METERS
>        IMAGETYPE PNG
>        EXTENT    557080.396149 2157880.301791 656751.905580 2292246.846584
>        SHAPEPATH "C:\Program Files\EasyPHP1-7\www\mapserver\data"
>        IMAGECOLOR 255 255 255
>              LAYER
>            NAME "communes18_original"
>            TYPE POLYGON
>            STATUS ON
>            CONNECTIONTYPE OGR
>            CONNECTION "C:\Program 
> Files\EasyPHP1-7\www\mapserver\data\communes18_original.TAB"
>            CLASS
>                COLOR 232 232 255
>                OUTLINECOLOR 32 32 255
>            END
>                  END
>       END
> 
> Anyone could give me a hint ?????
> 
> thanks
> 
> eric
> 



More information about the mapserver-users mailing list