Compute canonical feature hashes for tiger mosquito GeoJSON data
get_tiger_mosquito_feature_hashes.RdCompute one SHA-256 hash per GeoJSON feature after normalising JSON object ordering and excluding archive-added fields.
Details
Canonical feature hashing follows these normalization rules:
Radix key ordering: Object keys are sorted using
order(..., method = "radix")to ensure byte-wise (C-locale) deterministic ordering regardless of sessionLC_COLLATEsettings.15-digit coordinate precision: Geometry coordinates are serialized with
digits = 15, preserving IEEE-754 double precision for stable coordinate representation across platforms while absorbing minor floating-point printing artifacts across snapshots.Excluded metadata: Archive-added and metadata attributes (
feature_hash,source_url,source_official_update_date,fetched_at,data_canonical_sha256, andprevious_data_canonical_sha256) are removed prior to hashing.