...
The standard MapServer install will have a library of projection information. We’re From Version 5.6.2 Astun provide a cut-down projections file which may be used as customers are generally only interested generally in British National Grid and this can be defined in each MapServer file rather in a few projections and this is quicker than reading in an entire projection library.
To point your .map file to the custom iShare projections by changing the CONFIG "PROJ LIB" entry to the following:
Code Block | ||
---|---|---|
| ||
CONFIG “PROJ"PROJ_LIB” “..\..\..\mapserver\shared\proj\nad” PROJECTION “init=epsg:27700” END | ||
Code Block | ||
| ||
PROJECTION “proj=tmerc” “lat_0=49” “lon_0=-2” “k=0.999601” “x_0=400000” “y_0=-100000” “ellps=airy” “units=m” “no_defs” ENDLIB" "projections" |
If you wish to add your own alternate projections please see the topic Configuring Projections for details.
Logging
If your MapServer map file is in on a production server it will have passed all testing so there’s no reason to keep debugging to a high level. Set DEBUG 0. Remove all mentions of DEBUG in individual layers.
...