Skip to content

Instantly share code, notes, and snippets.

@alasarr
Forked from lukasmartinelli/tolerance_per_zoom.md
Last active March 4, 2022 10:43
Show Gist options
  • Save alasarr/5e0031c41acecd9af92e54332bc7ef72 to your computer and use it in GitHub Desktop.
Save alasarr/5e0031c41acecd9af92e54332bc7ef72 to your computer and use it in GitHub Desktop.
ST_Simplify tolerance per zoom level
zoom_level tolerance (m) tolerance (deg)
      0 |  78271.516953125 | 0.703124999902124
      1 | 39135.7584765625 | 0.351562499951062
      2 | 19567.8792382812 | 0.175781249975531
      3 | 9783.93961914062 | 0.0878906249877655
      4 | 4891.96980957031 | 0.0439453124938827
      5 | 2445.98490478516 | 0.0219726562469414
      6 | 1222.99245239258 | 0.0109863281234707
      7 | 611.496226196289 | 0.00549316406173534
      8 | 305.748113098145 | 0.00274658203086768
      9 | 152.874056549072 | 0.00137329101543383
     10 | 76.4370282745361 | 0.000686645507716918
     11 | 38.2185141372681 | 0.000343322753858459
     12 |  19.109257068634 | 0.000171661376929229
     13 | 9.55462853431702 | 8.58306884646148e-05
     14 | 4.77731426715851 | 4.29153442323074e-05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment