Hi Community,<br><br>we have this gml data:<br><a href="http://nvclwebservices.vm.csiro.au/geoserverBH/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&maxFeatures=1&typeName=gsml:Borehole">http://nvclwebservices.vm.csiro.au/geoserverBH/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&maxFeatures=1&typeName=gsml:Borehole</a><br>
<br>System.out.println("Layer Count: "+poDS.GetLayerCount());<br>System.out.println("Layer Name: "+poDS.GetLayerByIndex(0).GetName());<br>System.out.println("Feature Count: "+poDS.GetLayerByIndex(0).GetFeatureCount()); <br>
System.out.println("1st Feature X: "+Double.toString(poDS.GetLayerByIndex(0).GetFeature(0).GetGeometryRef().GetX()));<br>System.out.println("1st Feature Y: "+Double.toString(poDS.GetLayerByIndex(0).GetFeature(0).GetGeometryRef().GetY()));<br>
<br><br>Output:<br><br>Layer Count: 1<br>Layer Name: Borehole<br>Feature Count: 1<br>1st Feature X: -28.4139<br>1st Feature Y: 121.142<br><br><br>who I can read the gsml:elevation field?<br><br>the gdal version I am using is 1.7.2<br>
<br>--Nikos Hatzopoulos<br>