We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Description sjoin here is super slow:
reVX/reVX/wind_setbacks/wind_setbacks.py
Line 385 in d216964
Expected behavior Use spatial index and bounding box to speed it up
idx_generator = features.sindex.intersection(cnty.total_bounds) idx = [i for i in idx_generator] buildings = features.iloc[idx] centroids = buildings.centroid incentroids = [(i, c) for i, c in enumerate(centroids) if c.within(cnty["geometry"].values[0])] idx2 = [i[0] for i in incentroids] buildings = buildings.iloc[idx2] buildings['geometry'] = buildings.buffer(setback) setbacks.extend((geom, 1) for geom in buildings['geometry'])
Charge code WEPG 10348 08.01.01
The text was updated successfully, but these errors were encountered:
fixed in #86
Sorry, something went wrong.
MRossol
No branches or pull requests
Bug Description
sjoin here is super slow:
reVX/reVX/wind_setbacks/wind_setbacks.py
Line 385 in d216964
Expected behavior
Use spatial index and bounding box to speed it up
Charge code
WEPG 10348 08.01.01
The text was updated successfully, but these errors were encountered: