Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleReplace this
CONFIG “PROJ"PROJ_LIB” “..\..\..\mapserver\shared\proj\nad”
PROJECTION
  “init=epsg:27700”
END
Code Block
titleWith this
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.

...