Dear users,<br><span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell"><br>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 &#39;projection&#39; 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 &#39;projection&#39; tag, it gets
<br><br> <b> msProcessProjection(): Projection library error. no system list, errno: 2
</b><br><br><br>This is my map file for your perusal,<br><br>Map<br>IMAGETYPE PNG<br>NAME &quot;Gods own country&quot;<br>SIZE 800 500<br>IMAGECOLOR 256 255 255<br>EXTENT  74.906173 8.249055 77.434938 12.791817 #geographic<br>
SHAPEPATH &quot;/var/www/html/mapfiles/sampletest/data&quot;<br>FONTSET   &quot;/var/www/html/mapfiles/sampletest/fonts/fonts.list&quot;<br>SYMBOLSET      &quot;/var/www/html/mapfiles/sampletest/symbols/symbols35.sym&quot;<br>
  <br>PROJECTION<br>     &quot;init=espg:4326&quot;<br>END <br>    <br>LAYER<br>    NAME   kerala<br>    TYPE   POLYGON<br>    STATUS OFF<br>    DATA   parl_04<br><br>PROJECTION<br>      &quot;init=epsg:4326&quot;<br>  END<br>
<br>CLASSITEM  &quot;PARTY&quot;<br><br>    CLASS<br>       NAME   &quot;Greenary Land&quot;<br>       EXPRESSION &#39;CPM&#39;<br>        STYLE<br>            COLOR 256 256 255<br>            OUTLINECOLOR 256 256 256<br>
            END<br>  <br>       END<br><br>#second class starts<br>   CLASS<br>       NAME &#39;CPI&#39;<br>       EXPRESSION &#39;CPI&#39;<br><br>   STYLE<br>      COLOR 198 198 255<br>      OUTLINECOLOR 256 256 256<br>    END<br>
<br>  END<br><br> END #end of first layer<br> <br>  LAYER # States label layer begins here<br>    NAME         states_label<br>    DATA         parl_04<br>    STATUS       OFF<br>    TYPE         ANNOTATION<br><br>  PROJECTION<br>
      &quot;init=epsg:4326&quot;<br>    END<br>  <br>    CLASSITEM    &quot;PARTY&quot;<br><br>    LABELITEM    &quot;NAME&quot;<br><br>    CLASS<br>      EXPRESSION &#39;CPM&#39;<br>      STYLE<br>        COLOR      -1 -1 -1<br>
      END<br>      LABEL<br>        COLOR 132 31 31<br>        SHADOWCOLOR 218 218 218<br>        SHADOWSIZE 2 2<br>        TYPE TRUETYPE<br>        FONT arial-bold<br>        SIZE 12<br>        ANTIALIAS TRUE<br>        POSITION AUTO<br>
        PARTIALS FALSE<br>        MINDISTANCE 300<br>        BUFFER 4<br>      END # end of label<br>    END # end of class<br>    CLASS<br>      EXPRESSION &#39;CPI&#39;<br>      STYLE<br>        COLOR      -1 -1 -1<br>      END<br>
      LABEL<br>        COLOR 132 31 31<br>        SHADOWCOLOR 218 218 218<br>        SHADOWSIZE 2 2<br>        TYPE TRUETYPE<br>        FONT arial-bold<br>        SIZE 12<br>        ANTIALIAS TRUE<br>        POSITION AUTO<br>
        PARTIALS FALSE<br>        MINDISTANCE 300<br>        BUFFER 4<br>      END # end of label<br>    END # end of class<br>   <br><br>  END # States label layer ends here<br>  # End of LAYER DEFINITIONS -------------------------------<br>
<br>END #map ends here<br>---------------------------------------------+-----------------------------------------<br><br>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 <br>
<br></span></span><span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell"><b> mProcessProjection(): Projection library error. no system list, errno: 2
</b></span></span><br><br>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<br>
<span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell"><br>The apache error logs don&#39;t show anything interesting, but
it still returns this:
<br><br>  msProcessProjection(): Projection library error. no system list, errno: 2 
when i add the projection tag in the map object.<br><br> what could be a problem? somebody please help me out...<br><br>help/tips will be appreciated.<br><br>Thanks,<br>kapilmanoj.<br></span></span>