-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
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
Summary at the custom-zone level #327
Comments
Hi, this depends on the geometry and the precision you are looking for.
blocks = mm.Blocks(tessellation_df, streets_df, buildings_df, 'bID', 'uID')
tessellation_df["block_id"] = blocks.tessellation_id
tessellation_df.groupby("block_id").agg(...)
|
Hi, Thank you very much for your reply, and It solves my problems. Closing the issue. Another question, in the long term, is |
I am happy to add those. Can you open an issue describing them? To know how are they supposed to be measured. Ideally with some reference to where it comes from. |
Thank you very much for this package, and it solves many calculating problems for us who are urban planners but from non-technical backgrounds.
momepy
currently provides tools to compute morphological index at the building, tessellation, and street level. It indeed considers the concept of block when constructing one usingmomepy.Blocks()
to integrate the data of buildings, street, and tesselations. However, the morphological index at the block level (or generally zones covering several tesselations or even cut across them) is not yet the central focus.My question, maybe a request for best practices or functionality, is how can we summarize the index from the current three levels to a custom zoning? For example, after we calculate some indexes at the city level, then we may want to summarize them according to its different districts.
So far, my plan is to use the spatial join tool to add the district information back to buildings, streets, and tesselations within them, and then do some
df.groupby('district_id').agg(...)
considering mean or weighted mean. But it has potential problems when dealing with cross-boundary entities.The text was updated successfully, but these errors were encountered: