Jim,<br><br>GML driver doesn&#39;t support reporting of the geometry type for the layer. However, you will get the right geometry when you ask for the geometry itself. Try &quot;ogrinfo -al test.gml&quot; and check the reported geometries.<br>
<br><div class="gmail_quote">On Wed, Jun 2, 2010 at 4:33 AM, jim hopper <span dir="ltr">&lt;<a href="mailto:JAMES.E.HOPPER@saic.com">JAMES.E.HOPPER@saic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, I got gdal rebuilt with xercesc support, and I can read it with ogrinfo.<br>
But it says:<br>
<br>
Had to open data source read-only.<br>
INFO: Open of `test.gml&#39;<br>
      using driver `GML&#39; successful.<br>
<br>
Layer name: ford_plant_2d_bldgs<br>
Geometry: Unknown (any)<br>
<br>
But the original shape file does have geometry:<br>
<br>
INFO: Open of `ford_plant_2d_bldgs.shp&#39;<br>
      using driver `ESRI Shapefile&#39; successful.<br>
<br>
Layer name: ford_plant_2d_bldgs<br>
Geometry: Polygon<br>
Feature Count: 2531<br>
Extent: (370010.126533, 4337857.290364) - (372942.794685, 4341771.522431)<br>
Layer SRS WKT:<br>
PROJCS[&quot;WGS_1984_UTM_Zone_15N&quot;,<br>
    GEOGCS[&quot;GCS_WGS_1984&quot;,<br>
        DATUM[&quot;WGS_1984&quot;,<br>
            SPHEROID[&quot;WGS_1984&quot;,6378137.0,298.257223563]],<br>
        PRIMEM[&quot;Greenwich&quot;,0.0],<br>
        UNIT[&quot;Degree&quot;,0.0174532925199433]],<br>
    PROJECTION[&quot;Transverse_Mercator&quot;],<br>
    PARAMETER[&quot;False_Easting&quot;,500000.0],<br>
    PARAMETER[&quot;False_Northing&quot;,0.0],<br>
    PARAMETER[&quot;Central_Meridian&quot;,-93.0],<br>
    PARAMETER[&quot;Scale_Factor&quot;,0.9996],<br>
    PARAMETER[&quot;Latitude_Of_Origin&quot;,0.0],<br>
    UNIT[&quot;Meter&quot;,1.0]]<br>
<div><div></div><div class="h5"><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><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.2416N 80.1426E<br>