Skip to main content

Module measure

Module measure 

Source
Expand description

Geospatial measure dictionaries (ISO 32000-1 §13.2, Table 261-265).

A measure dictionary describes a coordinate system, measurement units, and geographic bounds for annotations that represent real-world locations — chiefly used with PDF 2.0 Projection annotations for mapping and GIS applications. This module parses these dictionaries into a read-only data model; it does not perform coordinate transformations or rendering.

The measure info is exposed through [Annotation::measure] and can be displayed via zpdf info / zpdf links CLI commands.

Structs§

GeographicCoordinateSystem
Geographic coordinate system info (Table 262).
Measure
A measure dictionary describing geospatial coordinate systems and units for an annotation (PDF §13.2, Table 261).

Functions§

parse_measure
Parse a /Measure dictionary from an annotation, returning None if the dictionary is absent, malformed, or exceeds safety limits.