Description Usage Arguments Value Examples
View source: R/catastrozip2st.R
# catastrozip2st downloads a zip link into a temporal folder and extracts: - building.gml - buildingpart.gml - otherconstruction.gml It returns a list of 3 elements, each in st format Note1: it includes the calculation of Hmax heigth for buildingparts
1 | catastrozip2st(ziplink, tempdir = "./temp/", name, Hfloor = 3)
|
ziplink |
–> this is the zip url for a single municipality (captured in catastroprovince) |
tempdir |
–> this where temporary files are stores (zips, unzips...) |
name |
–> this is the name of the muninipality (captured in catastroprovince) |
Hfloor |
–> asign a height of each floor above the ground (stimation of building height) |
list of 3 elemenst (building, buildingpart, otherconstruction) in simple feature collection. This parts will be merged and unified in a gpkg with the catastroprovince() function.
1 2 3 4 5 6 | ## Not run:
ziplink <- 'http://www.catastro.minhap.es/INSPIRE/Buildings/56/56101-MELILLA/A.ES.SDGC.BU.56101.zip'
name = 'MELILLA'
catastrozip2st(ziplink,tempdir,name)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.