[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-81796-en":3,"doc-seo-81796-105":28,"detail-sidebar-cat-0-en-105":89},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":11,"language":21,"language_code":22,"site_id":23,"html_lang":22,"table_of_contents":24,"faqs":25,"seo_title":13,"seo_description":14,"update_tm":26,"read_time":27},81796,137441390410,"Hazel","https://ap-avatar.wpscdn.com/avatar/2000252f4ab5702993?_k=1776741390130283984",8,"Research & Report","The Decode-Work Law: Margin-Governed, Provably-Exact Spatial Joins over Compressed Geometry","Filter-and-refine spatial joins avoid exact geometry for certified candidate pairs, yet existing models ignore the decompression cost of survivors in compressed multiresolution storage. This work studies provably-exact polygon intersection joins over a Douglas–Peucker LOD ladder, certified via a two-sided Hausdorff-margin test. Contributions include a reproducible mechanism and harness achieving exact results while decoding 3.4–16.8× fewer vertices (median 5.9×) versus naive refinement, and a decode-work law where required decoding is governed by each pair’s signed-clearance margin. ","arXiv :2607 .01182v2 [ cs .DB] 10 Jul 2026  \nThe Decode-Work Law:  \nMargin-Governed, Provably-Exact Spatial Joins over Compressed  \nGeometry  \nMadhulatha Mandarapu∗ Sandeep Kunkunuru†  \nVaidhyaMegha Private Limited, India  \n[https://samyama. ai/](https://samyama. ai/)  \nJuly 2026  \nChanges in v2 . The headline results are unchanged and are now better supported. (i) v1’s fairness paragraph stated “we count all bytes a method reads, including LOD headers.” It did not: only coordinate bytes were counted. Level-directory bytes are now charged to every method (§6) . The vertex-based headline is unaffected, the pooled byte advantage falls from 2 .02 × to 1.91×, and on the adversarial fixture the progressive method loses on bytes (0 .99×) once it pays for its own ladder—as it should. (ii) We pre-registered five negative controls and reported none. All five are now implemented and reported; the random-relabel null (NC3), never previously run, confirms the decode-work law against a permutation baseline (p = 0 .001) . (iii) v1 attributed the selectivity forecaster’s failure to selectivity saturating near one. The real cause is that its gap features are degenerate by construction.  \n(iv) One pre-registered control (NC4) tested the wrong quantity; we say so rather than drop it.  \nAbstract  \nFilter-and-refine spatial joins have always avoided touching exact geometry for certified candidate pairs, but the field never modeled the decompression cost of the pairs that survive the filter. When geometry is stored in a compressed, progressively-decodable multiresolution codec, the join’s true cost is bytes decoded. We study provably-exact polygon intersection joins over a Douglas–Peucker level-of-detail (LOD) ladder, certified by a two-sided Hausdorff-margin test, and make two contributions. First, a reproducible mechanism and harness: on real U.S. Census TIGER water polygons, our progressive certificate join returns the exact result while decoding 3.4–16.8 × (median 5.9×) fewer vertices than naive decompress-then-refine, and about 4.9 × fewer than the single-approximation multi-step baseline of Brinkhoff et al. [1994], with zero correctness violations across 31 workloads. Second, a characterization we call the decode-work law: decode work is governed by each pair’s signed-clearance margin—how close it is to the predicate-flip boundary—independent of object size, because the certificate descends the ladder only until its resolution beats the margin. The law is clean on controlled geometry (held-out R2 = 0 .87, size-independent) and directional on real data (R2 ≈ 0.55) . We are explicit about what does not hold: a near-boundary-vertex predictor is the wrong model (we pre-registered one and rejected it), a selectivity regime forecaster did not materialize, and the worst case is the trivial Ω(v) read bound on adversarially interleaved boundaries. We contribute the mechanism, budget-honest decode accounting, and an open harness; we do not claim a new index.  \n∗ [madhulatha@samyama.ai](madhulatha@samyama.ai)[ ](madhulatha@samyama.ai)†[sandeep@samyama.ai](sandeep@samyama.ai)  \n1 Introduction  \nSpatial joins—report all pairs (r, s) ∈ R × S satisfying a topological predicate such as intersects—area workhorse of geographic data systems [Jacox and Samet, 2007] . The dominant architecture is filter-and-refine [Brinkhoff et al. , 1993 , Patel and DeWitt, 1996]: a cheap minimum-boundingrectangle (MBR) filter produces candidate pairs, and an expensive exact geometric refinement decides each candidate. Modern stores keep geometry compressed: delta/varint coordinate codecs (TWKB), columnar layouts (GeoArrow, GeoParquet, SpatialParquet [Saeedan and Eldawy, 2022]), and progressively-decodable multiresolution encodings. In this setting the refinement step’s true cost is not comparisons or wall-clock but bytes decoded: an exact predicate needs coordinates, and decoding dominates.  \nFilter-and-refine already avoids exact geometry for pairs it can certify early—the cl","cbCaifVoeRHKPt7f","https://ap.wps.com/l/cbCaifVoeRHKPt7f","pdf",578011,1,"English","en",105,"# Introduction\n## Contributions\n# Method and Certification\n## Douglas–Peucker LOD ladder and Hausdorff-margin test\n# Decode-Work Law","[{\"question\":\"What problem does the Decode-Work Law address in spatial joins over compressed geometry?\",\"answer\":\"It addresses that prior filter-and-refine approaches avoid exact geometry but do not model the decompression (bytes decoded) cost for candidate pairs that survive filtering when geometry is stored in a compressed multiresolution codec.\"},{\"question\":\"How does the proposed approach certify when two polygons intersect or are disjoint?\",\"answer\":\"It uses a Douglas–Peucker LOD ladder and certifies DISJOINT when η-dilated coarse geometries are disjoint, certifies INTERSECT when η-eroded coarse geometries overlap, and otherwise descends the ladder until a certificate is obtained via a Hausdorff-margin test.\"},{\"question\":\"What determines how much decoding work a pair requires under the decode-work law?\",\"answer\":\"Decoding work is governed by each pair’s signed-clearance (margin) relative to the predicate-flip boundary, largely independent of object size, because the certificate descends only until resolution beats that margin.\"}]",1784176209,20,{"code":4,"msg":29,"data":30},"ok",{"site_id":23,"language":22,"slug":31,"title":13,"keywords":32,"description":14,"schema_data":33,"social_meta":84,"head_meta":86,"extra_data":88,"updated_unix":26},"the-decode-work-law-margin-governed-provably-exact-spatial-joins-over-compressed-geometry","",{"@graph":34,"@context":83},[35,52,66],{"@type":36,"itemListElement":37},"BreadcrumbList",[38,42,46,49],{"item":39,"name":40,"@type":41,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":43,"name":44,"@type":41,"position":45},"https://docshare.wps.com/document/","Document",2,{"item":47,"name":12,"@type":41,"position":48},"https://docshare.wps.com/document/research-report/",3,{"item":50,"name":13,"@type":41,"position":51},"https://docshare.wps.com/document/the-decode-work-law-margin-governed-provably-exact-spatial-joins-over-compressed-geometry/81796/",4,{"url":50,"name":13,"@type":53,"author":54,"headline":13,"publisher":56,"fileFormat":59,"inLanguage":22,"description":14,"dateModified":60,"datePublished":60,"encodingFormat":59,"isAccessibleForFree":61,"interactionStatistic":62},"DigitalDocument",{"name":9,"@type":55},"Person",{"url":39,"name":57,"@type":58},"DocShare","Organization","application/pdf","2026-07-16",true,{"@type":63,"interactionType":64,"userInteractionCount":4},"InteractionCounter",{"@type":65},"ViewAction",{"@type":67,"mainEntity":68},"FAQPage",[69,75,79],{"name":70,"@type":71,"acceptedAnswer":72},"What problem does the Decode-Work Law address in spatial joins over compressed geometry?","Question",{"text":73,"@type":74},"It addresses that prior filter-and-refine approaches avoid exact geometry but do not model the decompression (bytes decoded) cost for candidate pairs that survive filtering when geometry is stored in a compressed multiresolution codec.","Answer",{"name":76,"@type":71,"acceptedAnswer":77},"How does the proposed approach certify when two polygons intersect or are disjoint?",{"text":78,"@type":74},"It uses a Douglas–Peucker LOD ladder and certifies DISJOINT when η-dilated coarse geometries are disjoint, certifies INTERSECT when η-eroded coarse geometries overlap, and otherwise descends the ladder until a certificate is obtained via a Hausdorff-margin test.",{"name":80,"@type":71,"acceptedAnswer":81},"What determines how much decoding work a pair requires under the decode-work law?",{"text":82,"@type":74},"Decoding work is governed by each pair’s signed-clearance (margin) relative to the predicate-flip boundary, largely independent of object size, because the certificate descends only until resolution beats that margin.","https://schema.org",{"og:url":50,"og:type":85,"og:title":13,"og:site_name":57,"og:description":14},"article",{"robots":87,"canonical":50},"index,follow",{"doc_id":7,"site_id":23},{"code":4,"msg":5,"data":90},[91,95,99,103,108,113,118,121,125,128,132],{"id":20,"doc_module":4,"doc_module_name":44,"category_name":92,"show_sort_weight":93,"slug":94},"Story & Novel",90,"story-novel",{"id":45,"doc_module":4,"doc_module_name":44,"category_name":96,"show_sort_weight":97,"slug":98},"Literature",80,"literature",{"id":51,"doc_module":4,"doc_module_name":44,"category_name":100,"show_sort_weight":101,"slug":102},"Exam",70,"exam",{"id":104,"doc_module":4,"doc_module_name":44,"category_name":105,"show_sort_weight":106,"slug":107},5,"Comic",60,"comic",{"id":109,"doc_module":4,"doc_module_name":44,"category_name":110,"show_sort_weight":111,"slug":112},6,"Technology",50,"technology",{"id":114,"doc_module":4,"doc_module_name":44,"category_name":115,"show_sort_weight":116,"slug":117},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":44,"category_name":12,"show_sort_weight":119,"slug":120},30,"research-report",{"id":122,"doc_module":4,"doc_module_name":44,"category_name":123,"show_sort_weight":27,"slug":124},9,"Religion & Spirituality","religion-spirituality",{"id":27,"doc_module":4,"doc_module_name":44,"category_name":126,"show_sort_weight":27,"slug":127},"World Cup","world-cup",{"id":129,"doc_module":4,"doc_module_name":44,"category_name":130,"show_sort_weight":129,"slug":131},10,"Lifestyle","lifestyle",{"id":133,"doc_module":4,"doc_module_name":44,"category_name":134,"show_sort_weight":104,"slug":135},19,"General","general"]