Description Usage Arguments Details Examples
View source: R/building_height.R
Calculates the height of buildings on two sides of streets with two options available. It performs geometric translation to the lines ("street") by distance k, and defines polygons ("buildings") that intersect with the lines as building alongside streets.
1 | Building_height(building, street, option = ("fixed", "street"), k = )
|
option |
Defines the method by which building height is calculated. If option = "fixed", k should be defined by the user (default = 40 meters). If option = "street", k equals to the width of street on each side. |
k |
Defines the distance from streets. Buildings within which area will be considered as buildings alongside streets. |
building |
A Simple Feature containing the building footprints of a city |
street |
A Simple Feature containing the street network of a city. |
Calculate building height with two options available. It returns the summary statistics (max, min, average, weighted average, standard deviation) of building area alongside every street to the Simple Feature "street". If the calculation is performed in option "street", the width of street should first be calculated If the translation lines of streets and the polygons ("building") 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.