WMS GetMap not using Lat/Lonprojection

Frank Warmerdam fwarmerdam at GMAIL.COM
Tue May 3 10:50:21 EDT 2005


On 5/3/05, McGraw, Joanne <mcgrawj at agr.gc.ca> wrote:
> 1. In my map file, I added a config line within the map object:
> 
>     config      PROJ_LIB /usr/local/proj-4.4.5/nad/
> 
> And have verified that the epsg data file actually exists there. The NAD83 still does not appear when I try to display the layer in map mode. There is no error or anything, just a blank display as though the contents simply don't fall within the extents of the map (I have triple checked this possibility).

Joanne,

The critical item for the layer in question is whether the
ntv1_can.dat file (or better yet ntv2_0.gsb) exists 
in the directory /usr/local/proj-4.4.5/nad.  This is not
installed by default with PROJ.4 - you need to separately
download the datum shift files and unpack them before 
configuring and installing PROJ.4.   

Assuming you have the ntv1_can.dat file on your development
server, you can just copy that one file over to your corporate
server if you want.  

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list