BinGridMatch

class geodetic_engine.bingrid.matching.BinGridMatch[source]

Bases: object

A stored grid the dataset is on.

grid

The stored grid.

distance

Largest distance between a corner of the dataset and where the grid puts that corner’s numbers, in the dataset CRS’s linear unit.

same_crs

Whether the grid is on the dataset’s own map grid: the same datum, projection and linear unit, whatever the axis order and whether or not either CRS is bound to WGS 84.

same_increments

Whether the grid is stored at the dataset’s increments.

to_json_dict()[source]

Render the match as plain data.

Return type:

dict[str, Any]

__init__(grid, distance, same_crs, same_increments)