TerraME/terrame

Create a Layer function to get geometry attribute name

Opened this issue · 0 comments

TerraLib changed how to get geometry attribute name. Now it comes from gdal and it is dynamically named.

Before that, the names could be "ogr_geometry" or "geom".

The attribute name is available from DataSetType.

@pedro-andrade-inpe
My suggestions:
Layer:geom() or Layer:geometry()