[Mapserver-users] blank image--white empty image box
don
mamwake at yahoo.com
Sat Oct 18 01:10:24 PDT 2003
thanks very much for the pointers but after adding
below lines, every thing now is wierd
PROJECTION
"proj=latlong" (i have even tried "utm")
END
Server error!
The server encountered an internal error and was
unable to complete your request.
Error message:
Premature end of script headers: mapserv
httpd log:
[Sat Oct 18 10:07:09 2003] [error] [client
192.168.30.200] Premature end of script headers:
mapserv
[Sat Oct 18 10:07:09 2003] [error] [client
192.168.30.200] mapserv: mapfile.c:790:
msProcessProjection: Assertion `p->proj == ((void
*)0)' failed.
[Sat Oct 18 10:38:26 2003] [error] [client
192.168.30.200] Premature end of script headers:
mapserv
[Sat Oct 18 10:38:26 2003] [error] [client
192.168.30.200] mapserv: mapfile.c:790:
msProcessProjection: Assertion `p->proj == ((void
*)0)' failed.
--- Joe Bussell <joe at otsys.com> wrote:
> Looks like TestRegion is the only layer that you
> have turned on. Is this your intent?
>
> Try using a straight in-line layer like:
>
> LAYER
> name background
> TYPE polygon
> STATUS ON
> CLASS
> NAME "World"
> OUTLINECOLOR 0 0 0
> COLOR 30 144 255
> SIZE 1
> SYMBOL 0
> END
>
> FEATURE
> POINTS
> -180 90
> -180 -90
> 180 -90
> 180 90
> -180 90
> END
> END
> END
>
> My points are in lat/lon. I notice that in your
> mapfile you are specifiing meters. You will have to
> adjust the range accordingly. I use
>
> PROJECTION
> "proj=latlong"
> END
>
> as all my data is in lat/lon. I do not see a
> projection declaration in your mapfile.
>
> You are also declaring a shapepath of "data". To be
> honest I am unsure what the result of this will be.
> Is this path supposed to be absolute? Try setting
> it to the absolute path of your test_region.shp
> directory.
>
> Don't give up now, you are halfway there...
>
> Cordially,
>
> Joe Bussell
> www.TrafficDodger.com
=====
don
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
More information about the MapServer-users
mailing list