core_lens.entities.tehsil#

Module for Core Lens.

Classes#

TehsilEntity

Tehsil administrative boundary entity.

Module Contents#

class core_lens.entities.tehsil.TehsilEntity(data_root: str | pathlib.Path | None = None, storage_options: dict[str, Any] | None = None)#

Bases: core_lens.base.entity.BaseEntity

Tehsil administrative boundary entity.

Static file columns (from parquet schema):

tehsil_id — unique tehsil key tehsil — tehsil name district — parent district name state — parent state name shape_area — polygon area shape_length — polygon perimeter geometry — WKB geometry bbox — struct<xmin, ymin, xmax, ymax> pre-computed bounds

property key_cols: list[str]#

Get the property value.

Returns:

The key columns for the entity.

Return type:

list[str]

property geometry_col: str#

Get the property value.

Returns:

The geometry column name.

Return type:

str

property static_path: str#

Get the property value.

Returns:

The relative path to the static data.

Return type:

str

property schema_profile: core_lens.schema.profile.SchemaProfile#

Get the property value.

Returns:

The hardcoded schema profile.

Return type:

SchemaProfile