Esempio n. 1
0
 def geom_type(self):
     "Returns the OGR Geometry Type for this Feture."
     return OGRGeomType(capi.get_fd_geom_type(self._fdefn))
Esempio n. 2
0
 def geom_type(self):
     "Returns the geometry type (OGRGeomType) of the Layer."
     return OGRGeomType(capi.get_fd_geom_type(self._ldefn))