momepy icon indicating copy to clipboard operation
momepy copied to clipboard

ENH: Simple Building Volume Density

Open jonwangio opened this issue 4 years ago • 3 comments

Add BVD

jonwangio avatar Feb 12 '21 14:02 jonwangio

@jonwangio Are you planning to turn this into a momepy class or do you want me to do that based on your code? See for example implementation of SharedWallsRatio - https://github.com/martinfleis/momepy/blob/be19ab9fb0a4daa40c82f6ac89c3920ac632df2b/momepy/distribution.py#L110

I have no problem doing that but it may take some time.

Normally, to add a new function it should be a class with a similar signature as the existing ones, with docstring and tests. I can guide you through the implementation if needed.

Just want to know what to expect with this and the other PR.

martinfleis avatar Feb 12 '21 22:02 martinfleis

@jonwangio Are you planning to turn this into a momepy class or do you want me to do that based on your code? See for example implementation of SharedWallsRatio -

https://github.com/martinfleis/momepy/blob/be19ab9fb0a4daa40c82f6ac89c3920ac632df2b/momepy/distribution.py#L110

I have no problem doing that but it may take some time.

Normally, to add a new function it should be a class with a similar signature as the existing ones, with docstring and tests. I can guide you through the implementation if needed.

Just want to know what to expect with this and the other PR.

@martinfleis Would be great if you can turn them into what they should be for this time, and I can compare and try to mimic next time. Thanks.

jonwangio avatar Feb 13 '21 11:02 jonwangio

Codecov Report

Merging #264 (be19ab9) into master (be19ab9) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #264   +/-   ##
=======================================
  Coverage   96.14%   96.14%           
=======================================
  Files          12       12           
  Lines        2591     2591           
=======================================
  Hits         2491     2491           
  Misses        100      100           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update be19ab9...06c1296. Read the comment docs.

codecov[bot] avatar Feb 15 '21 00:02 codecov[bot]