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 Docs codecov PyPI Python License: BSD 3-Clause Code style: black DOI

Documentation: https://itacart.github.io/itacart/ — start with the Quick Start, then the Concepts & Guides and the API Reference.

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 extra:

pip install "itacart[geo]"       # GeoDataFrame export

The runtime dependencies are shapely and numpy, which Shapely requires as well. The ellipsoidal sinusoidal projection is computed directly from the paper's equations, so PROJ is never called at runtime. Workers need no extra: count_internal_cells spreads a large count over processes from the standard library.

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)

The Quick Start walks through the same calls with their output, executed when the documentation is built, and the Example Notebooks work through each of them at length.

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.2.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.2.0
File Size Uploaded Provenance Actions
itacart-1.2.0.tar.gz 208.1 kB With provenance Details for itacart-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 426.9 kB

Release files / itacart-1.2.0.tar.gz

Download URL itacart-1.2.0.tar.gz
Size 208.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff1c0e9c7e03bee1d7fe1757f1461187e243de1927e873f4f2d94a21bd8f4140
BLAKE2b-256 checksum
How to use checksums
d68d14e874c3af8181dd8a904957b84fe91dad17dd55f4b474ef245cb98c143a
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 Nov 18, 2026.

Transparency log

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

Download URL itacart-1.2.0-py3-none-any.whl
Size 218.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d013d439a366a2dbfdec4953b78a0925f7d27343ad3f24c894d5cdfd8e67f38
BLAKE2b-256 checksum
How to use checksums
e5fcf233cc950c3b2238c0c387a8fe7b6e8a9adbbd744d28b98a581dbafd8d94
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 Nov 18, 2026.

Transparency log

Security for itacart 1.2.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.2.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 Nov 18, 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