crankshaft
Archived CARTO spatial-analysis functions for clustering, segmentation, and spatial statistics.
crankshaft · Archived CARTO spatial-analysis functions for clustering, segmentation, and spatial statistics.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101871 | crankshaft | crankshaft | 0.9.0 | GIS | BSD-3-Clause | Python |
| Relationships | |
|---|---|
| Requires | plpython3u postgis |
Usage
Sources:
crankshaft Archived CARTO spatial-analysis functions for clustering, segmentation, and spatial statistics.
Enablement
Install the files for the intended server, then create crankshaft in the target database:
The reviewed control or official workflow requires plpython3u, postgis. CASCADE only succeeds when those extension files are already installed on the server.
Core Workflow
The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.
Main Objects
The reviewed install surface includes these prominent objects:
| Object | Kind | Operational role |
|---|---|---|
_cdb_random_seeds | FUNCTION | Callable function from the reviewed install surface. |
cdb_crankshaft.cdb_crankshaft_version | FUNCTION | Callable function from the reviewed install surface. |
cdb_crankshaft.cdb_moran_local | FUNCTION | Callable function from the reviewed install surface. |
cdb_crankshaft.cdb_moran_local_rate | FUNCTION | Callable function from the reviewed install surface. |
Operations and Boundaries
- The extension fixes or creates schema objects under
cdb_crankshaft; include them in privilege and backup review. - Catalog lifecycle is archived; test upgrades, dump/restore, and server compatibility before production use.