[mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 2
kmanoj-pg7 kmanoj-pg7
kmanoj-pg7 at iiitmk.ac.in
Thu Mar 5 00:59:45 PST 2009
Dear users,
I am using fedora 9 with mapserver 5.0.3 , i installed mapserver by using
YUM install command through command prompt. Now I am trying to use the
'projection' tag in a map file, but it is not working. I installed
proj-4.6.0 also as like the above same way. However, when using the
'projection' tag, it gets
* msProcessProjection(): Projection library error. no system list, errno: 2
*
This is my map file for your perusal,
Map
IMAGETYPE PNG
NAME "Gods own country"
SIZE 800 500
IMAGECOLOR 256 255 255
EXTENT 74.906173 8.249055 77.434938 12.791817 #geographic
SHAPEPATH "/var/www/html/mapfiles/sampletest/data"
FONTSET "/var/www/html/mapfiles/sampletest/fonts/fonts.list"
SYMBOLSET "/var/www/html/mapfiles/sampletest/symbols/symbols35.sym"
PROJECTION
"init=espg:4326"
END
LAYER
NAME kerala
TYPE POLYGON
STATUS OFF
DATA parl_04
PROJECTION
"init=epsg:4326"
END
CLASSITEM "PARTY"
CLASS
NAME "Greenary Land"
EXPRESSION 'CPM'
STYLE
COLOR 256 256 255
OUTLINECOLOR 256 256 256
END
END
#second class starts
CLASS
NAME 'CPI'
EXPRESSION 'CPI'
STYLE
COLOR 198 198 255
OUTLINECOLOR 256 256 256
END
END
END #end of first layer
LAYER # States label layer begins here
NAME states_label
DATA parl_04
STATUS OFF
TYPE ANNOTATION
PROJECTION
"init=epsg:4326"
END
CLASSITEM "PARTY"
LABELITEM "NAME"
CLASS
EXPRESSION 'CPM'
STYLE
COLOR -1 -1 -1
END
LABEL
COLOR 132 31 31
SHADOWCOLOR 218 218 218
SHADOWSIZE 2 2
TYPE TRUETYPE
FONT arial-bold
SIZE 12
ANTIALIAS TRUE
POSITION AUTO
PARTIALS FALSE
MINDISTANCE 300
BUFFER 4
END # end of label
END # end of class
CLASS
EXPRESSION 'CPI'
STYLE
COLOR -1 -1 -1
END
LABEL
COLOR 132 31 31
SHADOWCOLOR 218 218 218
SHADOWSIZE 2 2
TYPE TRUETYPE
FONT arial-bold
SIZE 12
ANTIALIAS TRUE
POSITION AUTO
PARTIALS FALSE
MINDISTANCE 300
BUFFER 4
END # end of label
END # end of class
END # States label layer ends here
# End of LAYER DEFINITIONS -------------------------------
END #map ends here
---------------------------------------------+-----------------------------------------
The interesting thing to look out about this projection is when i add the
projection tag both in the map object and layer object , its showing the
above error
* mProcessProjection(): Projection library error. no system list, errno: 2 *
but when i remove the projection tag from the map object leaving the project
tag as it is in the layer object (not remove) its working fine, projecting
the map without making any problem in the browser
The apache error logs don't show anything interesting, but it still returns
this:
msProcessProjection(): Projection library error. no system list, errno: 2
when i add the projection tag in the map object.
what could be a problem? somebody please help me out...
help/tips will be appreciated.
Thanks,
kapilmanoj.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090305/b62d7e59/attachment.htm>
More information about the MapServer-users
mailing list