hi all, i have done a blunder mistake in the Projection tag of the above mapfile, i have written espg instead of epsg , that was the root cause of the above error has been thrown.
just forgive me....... Thanks kapilmanoj kapilmanoj wrote: > > 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. > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/msProcessProjection%28%29%3A-Projection-library-error.-no-system-list%2C-errno%3A-2-tp2428209p2434929.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
