Skip to main content

ITACaRT

ITA Cadastral Ellipsoidal Reference Tessellation — an equal-area parallelogram Discrete Global Grid System (DGGS) for terrestrial cadastral mapping, tessellated directly on the WGS84 ellipsoid.

CI codecov PyPI Python License: BSD 3-Clause Code style: black DOI

Status: stable. The public surface is implemented and documented, with full statement and branch coverage enforced in CI.

What makes it different

Most DGGS project a polyhedron onto a sphere. ITACaRT tessellates the WGS84 ellipsoid directly, trading computational convenience for geodetic fidelity — the trade that cadastral work actually needs, since parcel area carries legal and fiscal weight.

  • Equal-area cells everywhere except at controlled antemeridian exceptions
  • Decimal hierarchy — 14 levels from 10 km to 1 cm, with whole-number metric areas (1 km², 100 m², 1 cm²) that make one token equal one unit of area
  • Cartesian-like addressing so surveyors can work with it without relearning their intuitions
  • Compositional index that represents a whole vector feature in one string instead of an unstructured list of atomic identifiers

Install

pip install itacart

Optional extras:

pip install "itacart[geo]"       # GeoDataFrame export
pip install "itacart[parallel]"  # parallel cell filling

shapely is the only hard runtime dependency. The ellipsoidal sinusoidal projection is computed directly from the paper's equations, so PROJ is never called at runtime.

Quick start

import itacart

# Address a position at 1 cm resolution
cell = itacart.geo_to_cell(-46.6328862, -23.5508962, resolution=13)

# Inverse geometry
lon, lat = itacart.cell_to_centroid(cell)
ring = itacart.cell_to_boundary(cell, close=True)

# Hierarchy
parent = itacart.get_parent(cell)
children = list(itacart.get_children(parent, flatten=True))   # 25 at odd resolutions

# Topology
neighbours = itacart.grid_disk(cell, k_distance=1)

# Vector features
from shapely.geometry import Polygon
parcel = Polygon([...])
index = itacart.polyfill(parcel, resolution=13, compact=True)
area_m2 = itacart.count_internal_cells(parcel, 13) * itacart.nominal_cell_area(13)

Compositional indices

A single string addresses one cell or a whole region:

SE(1400/0374(3(C2(3))))              one cell
...4(C1,C2)                          two siblings under one parent

Parentheses descend a level; commas separate siblings. Every function accepts this form. Functions returning one value per cell return a list aligned with decompose() order:

region = "NE(0001/0002(1(A1,A2,A3)))"
itacart.count_cells(region)          # 3
itacart.get_parent(region)           # 3 entries, positionally aligned
itacart.grid_disk(region)            # 3 lists, one per input cell

Functions that answer one value per cell collapse that alignment for a single cell: get_parent of one cell is a string, not a list of one. get_children is the exception and keeps its grouping either way, so list(get_children(cell)) has length one and the children are inside it — pass flatten=True to read them directly.

Boundary behaviour

Three departures from the uniform grid are part of the specification, not edge cases to be handled later:

Condition Cell shape Equal area
Interior Parallelogram Yes
Prime meridian Isosceles triangle Yes
Antemeridian / extension edge Trapezoid No

Because trapezoidal cells break the area guarantee, area queries distinguish nominal from effective:

itacart.nominal_cell_area(13)        # 0.0001 m² — the Table 1 value
itacart.effective_cell_area(cell)    # actual area, clipping accounted for
itacart.is_equal_area_cell(cell)     # gate area-sensitive computations on this

Two extension zones carry the eastern quadrants across 180° over inhabited land — Fiji and the Chukotka/Wrangel group. Antarctica is excluded.

itacart.extension_zone(cell)         # "FIJI" | "CHUKOTKA" | None

Resolutions

Res Edge Area Refinement Codes Visualization Analysis
1 10 km 100 km² base 0000/0000 1:100 000 000 1:20 000 000
3 1 km 1 km² 1→25 A1–E5 1:10 000 000 1:2 000 000
9 1 m 1 m² 1→25 A1–E5 1:10 000 1:2 000
13 1 cm 1 cm² 1→25 A1–E5 1:100 1:20

Even resolutions refine 1→4, odd resolutions 1→25. Full table via itacart.resolution_table().

OGC conformance

ITACaRT meets DGGS Core (Topic 21 / ISO 19170-1) in full and EAERS partially. The divergences are deliberate: direct surface tessellation rules out the polyhedral interface, and the antemeridian trapezoids are accepted so the grid covers inhabited land. itacart.conformance() reports the full table, and the conformance test suite verifies it in CI.

Citing

@article{silva2025itacart,
  author  = {Silva, Israel Nunes and Dietzsch, Gabriel
             and Shiguemori, Elcio Hideiti},
  title   = {{ITACaRT}: An Equal-Area Parallelogram Discrete Global Grid System
             for Terrestrial Cadastral Mapping---Designed for Usability and
             Blockchain Integration},
  journal = {Revista Brasileira de Cartografia},
  volume  = {77},
  year    = {2025},
  doi     = {10.14393/rbcv77n0a-79281}
}

License

BSD 3-Clause. See LICENSE.


Release history in CHANGELOG.md. How to build, test and contribute in CONTRIBUTING.md.

Metadata

Release files for itacart 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itacart 1.0.0
File Size Uploaded Provenance Actions
itacart-1.0.0.tar.gz 167.7 kB With provenance Details for itacart-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for itacart 1.0.0
File Interpreter ABI Platform Actions
itacart-1.0.0-py3-none-any.whl Python 3 none any Details for itacart-1.0.0-py3-none-any.whl

Total release size: 344.8 kB

Release files / itacart-1.0.0.tar.gz

Download URL itacart-1.0.0.tar.gz
Size 167.7 kB
Tags Source
SHA-256 checksum
How to use checksums
06d72e099ebf3901494d234c4bb50065b7932d1be4e4da361be6b86326532d8a
BLAKE2b-256 checksum
How to use checksums
9eae99f61d78277ca9d52873cdb17368d43ac2c59788deccdcf34725ef33b855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / itacart-1.0.0-py3-none-any.whl

Download URL itacart-1.0.0-py3-none-any.whl
Size 177.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5e02f229b0276766dbb275ebb5dd819e2542df136b19100c2e7db62ee7a8252
BLAKE2b-256 checksum
How to use checksums
366c121160f5113deaaa2046803eae575924439d7c02a32a797b5ca07edef8e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for itacart 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for itacart-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page