[Mapserver-users] blank image--white empty image box

Joe Bussell joe at otsys.com
Mon Oct 20 12:30:12 EDT 2003


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
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the mapserver-users mailing list