layers are not drawn

Jeff Portwine jdport at VERITIME.COM
Thu Jan 27 06:07:36 PST 2005


I notice you specified your paths as /root/...   I am not familiar with your
OS or how you've setup your filesystem and thus I am not sure if /root is
referring to the web server root or your actual root directory but just in
case I thought I'd mention to make sure that those directories are readable
by the "web user"... whether that user is nobody (as is often the case with
apache) or some other user name.   I think if those permissions are bad it
would cause the behavior you described...

I'm still a newbie so I'll defer to the experts for any suggestions beyond
that :)

-Jeff

----- Original Message -----
From: "Alex Chimarios" <alhim at INTRACOM.GR>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Thursday, January 27, 2005 8:50 AM
Subject: [UMN_MAPSERVER-USERS] layers are not drawn


> Hi,
>
> I am trying to port mapscript to arm-linux for iPAQ PDA in order to create
> a
> demo application loading just one map.
>
> I have cross-compiled for arm-linux the following libraries :
> proj-4.4.7
> gdal-1-1-9
> freetype2
> gd-2.0.25 with png, jpeg and freetype support
>
> I have used libpng ,lipjpeg, libX11 and libxpm from binaries coming with
> Familiar Linux distro for PDA.
>
> Finally I cross-compiled mapserver and mapscript.
>
> However, when I try to run a simple program in mapscript, the map is drwan
> without any layers on it!!! Just the background .
>
> Can you give me a tip ? I think it may be a lib error. Which lib is
> responsible if layers are not drawn ?
>
>
> p.s : this is my map file :
>
> MAP
>
> NAME Mediteranean
>
> STATUS ON
> SIZE 600 600
> EXTENT 2.5256 21.5595 34.1734 53.2078
>
>
>
> SHAPEPATH "/root/gistest"
>
>
> IMAGECOLOR 50 200 200
> IMAGETYPE PNG
> INTERLACE ON
>
>
>
> PROJECTION
> "init=epsg:4326"
> END
> WEB
>        IMAGEPATH "/root/"
>        IMAGEURL "/root/"
>    END
>
>
>
>
> LAYER
>
> NAME "cities"
>
> STATUS ON
> DATA cities
> TYPE POINT
> PROJECTION
> "init=epsg:4326"
> END
>
> LABELITEM "NAME"
>
>        CLASS
>
>
>                STYLE
>                        COLOR 255 255 0
>
>                        SYMBOL "/root/gistest/ctyhwy.png"
>                END
>
>        LABEL
>                COLOR 255 255 0
>                SIZE tiny
>                #FONT arial
>                POSITION CL
>                PARTIALS TRUE
>                ANTIALIAS TRUE
>                MINDISTANCE 30
>                BUFFER 1
>        END
>        END
> END
>



More information about the MapServer-users mailing list