meenu,<br><br>I assume the layer is read correctly but the map is to be drawn with wrong extent without specifying that in the mapfile. You should also specify the projection of the layer and the map to be able to set the extent correctly.<br>
<br>Use ogrinfo.exe to find out the actual extent and projection of the layer you have.<br><br>Best regards,<br><br>Tamas<br> <br><br><br><div class="gmail_quote">2009/4/2 meenu <span dir="ltr"><<a href="mailto:meenu.monu@gmail.com">meenu.monu@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
hi friend wt u said is right...my problem is how can i add that layer to this map file...for example i have one table POI...this layer indicating 4 files such as POI.DAT,<a href="http://POI.ID" target="_blank">POI.ID</a>,POI.MAP,POI.TAB......how can i add this layer to this existing map file...i added the coding is as follows...no error found but in map this layer is not showing....in bin directory 2 files is thre based on OGR "ogr_OCI.dll" and "ogr_SDE.dll"...is any other files required for this OGR set up????<br>
<br>
LAYER<br>
NAME POI<br>
TYPE POLYGON<br>
STATUS DEFAULT<br>
CONNECTIONTYPE OGR<br>
CONNECTION "C:\Documents and Settings\Administrator\Desktop\julie\Mapserver 5.2.1 pjt\Mapserver(5.2.1)-Mapscript\data\POI.TAB"<br>
STYLEITEM "AUTO"<br>
CLASS<br>
NAME "POI"<br>
END<br>
END # Layer<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://n2.nabble.com/mapserver-c-mapscript-with-mapinfo-data-folder-tp2568756p2573619.html" target="_blank">http://n2.nabble.com/mapserver-c-mapscript-with-mapinfo-data-folder-tp2568756p2573619.html</a><br>
</font><div><div></div><div class="h5">Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br>