Hi Community,

we have this gml data:
http://nvclwebservices.vm.csiro.au/geoserverBH/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&maxFeatures=1&typeName=gsml:Borehole

System.out.println("Layer Count: "+poDS.GetLayerCount());
System.out.println("Layer Name: "+poDS.GetLayerByIndex(0).GetName());
System.out.println("Feature Count:
"+poDS.GetLayerByIndex(0).GetFeatureCount());
System.out.println("1st Feature X:
"+Double.toString(poDS.GetLayerByIndex(0).GetFeature(0).GetGeometryRef().GetX()));
System.out.println("1st Feature Y:
"+Double.toString(poDS.GetLayerByIndex(0).GetFeature(0).GetGeometryRef().GetY()));


Output:

Layer Count: 1
Layer Name: Borehole
Feature Count: 1
1st Feature X: -28.4139
1st Feature Y: 121.142


who I can read the gsml:elevation field?

the gdal version I am using is 1.7.2

--Nikos Hatzopoulos
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to