You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently getting the type can be done via: geo_feature_layer.create_feature().get_class(). Apart from it always creating a feature it is rather inconvenient.
Currently getting the type can be done via:
geo_feature_layer.create_feature().get_class()
. Apart from it always creating a feature it is rather inconvenient.OGR offers a way to get a geometry type as described in https://gdal.org/api/python/osgeo.ogr.html#osgeo.ogr.FeatureDefn.GetGeomType. Exposing this (e.g. via
GeoFeatureLayer.get_feature_class()
) would be helpful for distinguishing different types of features.The text was updated successfully, but these errors were encountered: