Hi,<br>
<br>
I tried to read a mapinfo file (.TAB) with mapserver using OGR library,
but my question is how can I retrieve extent information that I have to
write in the mapserver file (.map).<br>
I've ever retrieve information about the mapinfo file with the ogrinfo command which return me this : <br>
<br>
[root@siska demo]# ogrinfo -so essai_zone.TAB essai_zone |more<br>
Had to open data source read-only.<br>
INFO: Open of `essai_zone.TAB'<br>
using driver `MapInfo File' successful.<br>
<br>
Layer name: essai_zone<br>
Geometry: Polygon<br>
Feature Count: 8<br>
Extent: (567955.024450, 2511748.009226) - (579369.036331, 2521531.038812)<br>
Layer SRS WKT:<br>
...<br>
<br>
<br>
How I must fill the map file with this ?<br>
<br>
<br>
All regards,<br>
Seb<br>