Hello,<br><br>I have got a mapfile with specified projection for both the whole map<br>and the only layer in it. Both projections are same. Mapserver then<br>renders a blank image. However, when I comment out the map projection
<br>or the layer projection, the map is rendered properly. Why am I getting such behaviour?<br><br>I know that this example is a little bit artificial and I do not have to specify<br>both projections. In fact I am dealing with mapfiles with much bigger 
<br>number of layers and the mapfiles are generated on the fly. Usually <br>the layers are in the same projection but it may happen that they are not.<br>It is much easier for me to specify the projections both for the layers and the map
<br>and not bother about checking when projection is the same and when not.<br>Or do I have to check it?<br><br>This is the mapfile:<br><br>MAP<br>&nbsp; EXTENT -654601.880000 -1154846.910000 -648383.16 -1148290.76<br>&nbsp; UNITS meters
<br>&nbsp; SIZE 600 600<br>&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:2065&quot;<br>&nbsp; END<br>&nbsp; OUTPUTFORMAT<br>&nbsp;&nbsp;&nbsp; NAME png<br>&nbsp;&nbsp;&nbsp; DRIVER &quot;GD/PNG&quot;<br>&nbsp;&nbsp;&nbsp; MIMETYPE &quot;image/png&quot;<br>&nbsp;&nbsp;&nbsp; IMAGEMODE PC256<br>&nbsp;&nbsp;&nbsp; EXTENSION &quot;png&quot;
<br>&nbsp; END<br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;dkm/par001&quot;<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; DATA &quot;c:\MyGisData\Trebic_DGN_Shapefile\dkm/par001&quot;<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:2065&quot;<br>&nbsp;&nbsp;&nbsp; END
<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 240 240 240<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END<br>END<br><br>I am using custom built Python Mapscript for Mapserver 4.6.1 on Windows XP.<br><br>Thank you very much.<br><br>Jirka Mikulasek
<br>