[Mapserver-users] blank image--white empty image box
Daniel Morissette
morissette at dmsolutions.ca
Tue Oct 21 05:59:57 PDT 2003
Could it be that there are two PROJECTION blocks in one of your layers
or at the top level in your mapfile? Duplicate PROJECTION definitions
is the only way I can imagine to trigger that assertion failure.
Daniel
don wrote:
> ye i got line like that
> libproj.so.0 => /usr/local/lib/libproj.so.0
> (0x404eee000)
> --- Joe Bussell <joe at otsys.com> wrote:
>
>>I wonder if you have proj4 compiled in with
>>Mapserver. Could you type
>>ldd /path/to/mapscript.so
>>I am wondering if a line like
>>libproj.so.0 => /usr/local/lib/libproj.so.0
>>(0x401cf000)
>>will show up.
>>
>>Joe Bussell
>>
>>
>>don wrote:
>>
>>>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
>>>
More information about the MapServer-users
mailing list