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§
- Geographic
Coordinate System - 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
/Measuredictionary from an annotation, returningNoneif the dictionary is absent, malformed, or exceeds safety limits.