small projection problem
Frank Warmerdam
fwarmerdam at GMAIL.COM
Wed Feb 2 06:08:23 PST 2005
On Wed, 2 Feb 2005 10:02:55 +0100, Ivan Mjartan <ivan.mjartan at geovap.cz> wrote:
>
> Hi David
>
> I was trying your suggestion but my mapserver sed
>
> msLoadMap(): Unknown identifier. Parsing error near (CONFIG):(line 17)
>
> and my map looks like:
>
> MAP
> extent -464212.053096 -1109640.531531 -442069.709461 -1093023.599057
> imagecolor 255 255 255
> size 800 600
> UNITS METERS
> name "J"
> fontset "fontset.txt"
> symbolset symbol35.sym
> SHAPEPATH "c:\data_gis\index\"
> CONFIG "PROJ_LIB" "c:\proj\"
> .
> .
> .
>
> and mapserver verzion is
> <!-- MapServer version 4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
Ivan,
The CONFIG keyword is relatively recently. It works in 4.4, perhaps
in 4.2 as well. But not pre 4.2. Setting PROJ_LIB as an environment
variable is also fine - even in old versions.
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