Skip to content

Commit

Permalink
Added same multithread/process updates to index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
codeananda committed Feb 13, 2024
1 parent 94905b9 commit 0f98826
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ user. These features include:
* Disk serialization
* Custom storage implementation (to implement spatial indexing in ZODB, for example)

These features do not include:

* Multithread safety (for reading or writing)
* Multiprocess safety (for reading or writing)

For either of these, we recommend using:

* A PostGIS database, or
* GeoPandas + spatial joining, or
* Building an rtree from scratch in each thread/process (using [generator syntax](https://rtree.readthedocs.io/en/latest/performance.html#use-stream-loading))

Note that since rtree is written in C, it can be orders of magnitude faster than a
database even if running sequentially.

Documentation
..............................................................................

Expand Down

0 comments on commit 0f98826

Please sign in to comment.