Skip to content

Initialize STRtree with capacity of 10 items per leaf node#1070

Merged
jorisvandenbossche merged 1 commit intoshapely:masterfrom
dbaston:fix-tree-init
Feb 18, 2021
Merged

Initialize STRtree with capacity of 10 items per leaf node#1070
jorisvandenbossche merged 1 commit intoshapely:masterfrom
dbaston:fix-tree-init

Conversation

@dbaston
Copy link
Copy Markdown
Contributor

@dbaston dbaston commented Jan 22, 2021

Previous initialization was creating a tree with all geometries on a single leaf node.

See: https://gis.stackexchange.com/questions/353619/shapely-with-rtree-versus-strtree

Previous initialization was creating a tree with all geometries on a
single leaf node.
@andrerav
Copy link
Copy Markdown

Hi! We are running into some performance problems because of this, having high hopes that this will be merged soon :)

@jorisvandenbossche jorisvandenbossche merged commit 838f014 into shapely:master Feb 18, 2021
@jorisvandenbossche
Copy link
Copy Markdown
Member

Thanks @dbaston!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants