Skip to main content

computeGeometryHash

@totemsdk/spatial-proof


@totemsdk/spatial-proof / computeGeometryHash

Function: computeGeometryHash()

computeGeometryHash(geometry): string

Compute the stable geometry identifier: "totem:geo:". Deterministic over the exact geometry — the same geometry always hashes to the same identifier.

Parameters

geometry

GeoGeometry

Returns

string