Description Usage Arguments Details Examples
Calculates the ratio between buildings' height and streets' width (H/W) on two sides of streets with two options available. The ratio is defined as the average height of buildings which intersect with streets to the width of streets.
1 | street_hwr (building, street, option = ("average", "weighted"))
|
option |
Defines the method by which the ratio of buildings' height and the streets width is calculated. If option = "average", it returns the ratio of buildings' average height to the width of streets. If option = "weighted", it returns the ratio of buildings' weighted average height (with the length of buildings' intersection with street as weight) to the width of the streets. |
building |
A Simple Feature containing the building footprints of a city |
street |
A Simple Feature containing the street network of a city. |
To calculate the height-width ratio of streets, the width of streets should first be calculated. It returns the height-width ratio of every street to the Simple Feature street. If the translation lines of streets ("street") and the buildings ("city") does not have intersection, it will return NA.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.