All Projects → kadyb → rgugik

kadyb / rgugik

Licence: other
Download datasets from Polish Head Office of Geodesy and Cartography

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to rgugik

rafagas
Daily geospatial links curated by Raf Roset
Stars: ✭ 17 (-39.29%)
Mutual labels:  cartography, gis
nl
geojson and topojson for common dutch areas
Stars: ✭ 30 (+7.14%)
Mutual labels:  cartography, gis
Mapnik
Mapnik is an open source toolkit for developing mapping applications
Stars: ✭ 3,067 (+10853.57%)
Mutual labels:  cartography, gis
Dvf App
Exploration des données DVF
Stars: ✭ 325 (+1060.71%)
Mutual labels:  cartography, open-data
geog4572
Geovisual Analytics @ Oregon State University
Stars: ✭ 67 (+139.29%)
Mutual labels:  cartography, gis
Urbansprawl
Open framework for calculating spatial urban sprawl indices and performing disaggregated population estimates using open data
Stars: ✭ 48 (+71.43%)
Mutual labels:  gis, open-data
Geography for hackers
Geography for Hackers - Teaching all how to hack geography, use GIS, and think spatially
Stars: ✭ 25 (-10.71%)
Mutual labels:  cartography, gis
Mapboard
A framework for data-rich web mapping 🌎📊✨
Stars: ✭ 29 (+3.57%)
Mutual labels:  gis, open-data
earthwyrm
Vector tile map server for openstreetmap data
Stars: ✭ 16 (-42.86%)
Mutual labels:  cartography, gis
gridviz
visualization of gridded statistics
Stars: ✭ 108 (+285.71%)
Mutual labels:  cartography, gis
QGIS-visualization-workshop
QGIS visualization workshop materials.
Stars: ✭ 46 (+64.29%)
Mutual labels:  cartography, gis
awesome-maps-ukraine
A curated list of maps of Ukraine, ukrainian mappers and tools that they use or develop for creating and publish maps
Stars: ✭ 35 (+25%)
Mutual labels:  cartography, gis
WhirlyGlobe
WhirlyGlobe Development
Stars: ✭ 767 (+2639.29%)
Mutual labels:  gis, geodesy
FlowMaps
No description or website provided.
Stars: ✭ 13 (-53.57%)
Mutual labels:  cartography, gis
sigsby
Sistem Informasi Geografis (SIG) / GIS Wisata Kota Surabaya Berbasis Web - www.firstplato.com
Stars: ✭ 23 (-17.86%)
Mutual labels:  gis
DEMto3D-QGIS-Plugin
Extensión GIS para impresión 3D de MDE
Stars: ✭ 33 (+17.86%)
Mutual labels:  gis
TED-Talks
All TED talks narratives extracted and cleaned.
Stars: ✭ 91 (+225%)
Mutual labels:  open-data
gis-oer
GIS実習オープン教材 © GIS Open Educational Resources WG, CC BY-SA 4.0
Stars: ✭ 115 (+310.71%)
Mutual labels:  gis
Space
This repository contains sample projects associated with articles I write.
Stars: ✭ 21 (-25%)
Mutual labels:  gis
erfrischungskarte-frontend
Interactive map of Berlin that shows 🕶 shade areas, 💨 wind and 🌡 temperature intensities across the day
Stars: ✭ 18 (-35.71%)
Mutual labels:  open-data

rgugik

CRAN R build status codecov License: MIT DOI

rgugik is an R package for downloading open data from resources of Polish Head Office of Geodesy and Cartography including:

It is also possible to geocode addresses or objects using the geocodePL_get() function.

Corresponding functions

Function Input Dastaset EN Dataset PL
ortho_request(), tile_download() geometry Orthophotomap Ortofotomapa
geodb_download() voivodeship General Geographic Database Baza Danych Obiektów Ogólnogeograficznych
topodb_download() county Topographic Database Baza Danych Obiektów Topograficznych
emuia_download() commune Register of Towns, Streets and Addresses Ewidencja Miejscowości, Ulic i Adresów
geonames_download() type State Register of Geographical Names Państwowy Rejestr Nazw Geograficznych
borders_get(), borders_download() type State Register of Borders Państwowy Rejestr Granic
parcel_get() parcel ID, coordinates Location of cadastral parcels Lokalizacja działek katastralnych
models3D_download() county 3D models of buildings Modele 3D budynków
DEM_request(), tile_download() geometry Digital elevation models Cyfrowe modele wysokościowe

There are the additional functions for obtaining digital terrain model:

  • pointDTM_get() for small areas (high resolution grid)
  • pointDTM100_download() for voivodeships areas (low resolution grid)
  • minmaxDTM_get() to find the minimum and maximum elevation (small areas)

The names of administrative units and their IDs can be obtained using these functions:

  • voivodeship_names() (16)
  • county_names() (380)
  • commune_names() (2477)

Installation

You can install the released version from CRAN with:

install.packages("rgugik")

You can install the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("kadyb/rgugik")

Usage

Orthophotomap

  • ortho_request() - returns a data frame with metadata and links to the orthoimages for a given geometry (point, line or polygon)
  • tile_download() - downloads orthoimages based on the data frame obtained using the ortho_request() function
library(rgugik)
library(sf)
library(raster)

polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik")
polygon = read_sf(polygon_path)

req_df = ortho_request(polygon)

# select the oldest image
req_df = req_df[req_df$year == 2001, ]

# print metadata
t(req_df)
#>             5                                                                               
#> sheetID     "N-33-130-D-b-2-3"                                                              
#> year        "2001"                                                                          
#> resolution  "1"                                                                             
#> composition "RGB"                                                                           
#> sensor      "Satellite"                                                                     
#> CRS         "PL-1992"                                                                       
#> isFilled    "TRUE"                                                                          
#> URL         "https://opendata.geoportal.gov.pl/ortofotomapa/41/41_3756_N-33-130-D-b-2-3.tif"
#> seriesID    "41"                                                                            
#> sha1        "312c81963a31e268fc20c442733c48e1aa33838f"                                      
#> date        "2001-01-01"                                                                    
#> filename    "41_3756_N-33-130-D-b-2-3"

# download image
tile_download(req_df)
#> 1/1

img = brick("41_3756_N-33-130-D-b-2-3.tif")
plotRGB(img)

Administrative boundaries

library(rgugik)
library(sf)

# get counties from opolskie voivodeship (TERYT 16)
counties = county_names
counties = counties[substr(counties$TERYT, 1, 2) == "16", "TERYT"]
counties_geom = borders_get(TERYT = counties)
plot(st_geometry(counties_geom), main = "Opolskie")

Vignettes

More advanced examples of the practical (step by step) use of this package can be found in the vignettes:

Acknowledgment

Head Office of Geodesy and Cartography in Poland is the main source of the provided data. The data is made available in accordance with the Act of May 17, 1989 Geodetic and Cartographic Law (amended on 16 April 2020).

All datasets can be explored interactively using the Geoportal.

Contribution

Contributions to this package are welcome. The preferred method of contribution is through a GitHub pull request. Feel also free to contact us by creating an issue. More detailed information can be found in the CONTRIBUTING document.

Maintainers and contributors must follow this repository’s CODE OF CONDUCT.

Citation

To cite rgugik in publications, please use the following article:

Dyba, K. and Nowosad, J. (2021). rgugik: Search and Retrieve Spatial Data from the Polish Head Office of Geodesy and Cartography in R. Journal of Open Source Software, 6(59), 2948, https://doi.org/10.21105/joss.02948

BibTeX version can be obtained with citation("rgugik").

Related projects

If you don’t feel familiar with R, there is a similar QGIS tool in the EnviroSolutions repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].