Store CRS to avoid costly lookup

Looking up the coordinate reference system for a given polygon’s bounds
is surprisingly expensive.

We can make things run faster by precomputing it at the time of
generating the simplified polygons, then storing it in the SQLite
database alongside the polygon data.
This commit is contained in:
Chris Hill-Scott
2021-12-01 14:10:55 +00:00
parent 0cf443e9a6
commit 6a3aba3bc5
5 changed files with 38 additions and 24 deletions
Binary file not shown.