MCPcopy
hub / github.com/django/django / layer_name

Method layer_name

django/contrib/gis/gdal/feature.py:71–74  ·  view source on GitHub ↗

Return the name of the layer for the feature.

(self)

Source from the content-addressed store, hash-verified

69
70 @property
71 def layer_name(self):
72 "Return the name of the layer for the feature."
73 name = capi.get_feat_name(self._layer._ldefn)
74 return force_str(name, self.encoding, strings_only=True)
75
76 @property
77 def num_fields(self):

Callers

nothing calls this directly

Calls 1

force_strFunction · 0.90

Tested by

no test coverage detected