rgugik icon indicating copy to clipboard operation
rgugik copied to clipboard

New datasets

Open kadyb opened this issue 5 years ago • 14 comments

  • [x] parcel by TERYT (ID) and by X, Y coordinates
  • [x] 100 m DTM by voivodeship
  • [x] General Geographic Database (BDOO) by voivodeship
  • [x] State Register of Geographical Names (PRNG)
  • [x] State Register of Borders (PRG). Note that PRG (voivodeship / country level) is based on EMUiA (communal level).
  • [x] 3D models of buildings (LOD1, LOD2) - Terms of Use
  • [x] geocoding (address, road mileage, rail crossing, physiographic object)
  • [x] Database of Topographic Objects (BDOT10K)
  • [x] DEM (DTM, DSM, point cloud)
  • [x] min/max elevation from DTM
  • [x] borders_get() from API
  • [x] Ewidencja Gruntów i Budynków (parcels and buildings geometry) (county level)
  • [ ] Krajowe zestawienie zbiorcze EGiB
  • [ ] Sheet dividing grids
  • [ ] Service: Search buildings by ID or XY

Another source: Warsaw (parcels and buildings geometry)

kadyb avatar Jul 20 '20 14:07 kadyb

Hi !

Do you plan to add the possibility of downloading LiDAR data ?

By the way, you have done nice work with this package!

Best regards

GreKro avatar Aug 07 '20 13:08 GreKro

Hi !

Do you plan to add the possibility of downloading LiDAR data ?

By the way, you have done nice work with this package!

Best regards

Hi, thanks for your interest in this package! We would like to include all datasets provided by GUGiK. However, at this moment, not all datasets are covered by simple sharing services that we can use. I think it will be possible in the future, as with the orthophotomaps. Best regards!

kadyb avatar Aug 07 '20 13:08 kadyb

@GreKro I added possibility of downloading all DEM products including point clouds. Here is example:

remotes::install_github("kadyb/rgugik")

library("sf")
library("lidR")
library("rgugik")

# load your polygon with area of interest
polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik")
polygon = read_sf(polygon_path)

# return df with available datasets
req_df = DEM_request(polygon)

# select LAS files
req_df = req_df[req_df$format == "LAS", ]

# download only first to working directory
tile_download(req_df[1, ])

# load LAS file
las = readLAS("4675_320841_N-33-130-D-b-2-3-3-1.las")
las
#> class        : LAS (v1.2 format 3)
#> memory       : 550.6 Mb 
#> extent       : 359925.3, 360472.2, 512836.6, 513430.8 (xmin, xmax, ymin, ymax)
#> coord. ref.  : NA 
#> area         : 307470.9 units²
#> points       : 6.28 million points
#> density      : 20.41 points/units²

kadyb avatar Aug 19 '20 15:08 kadyb

We have currently implemented all shared datasets (except Ewidencja Gruntów i Budynków, but there is no proper sharing infrastructure, maybe this will change in the future).

Additionally, we could implement the geometry acquisition function (get from API) for selected voivodeships, counties and communes. This would be an alternative to downloading the entire Państwowy Rejestr Granic (375MB).

We could also implement reverse geocoding for coordinates. Enter the coordinates, and as a result you get the geometry of the administrative unit (voivodeships, counties, communes) and/or its name and TERYT.

@Nowosad what do you think?

kadyb avatar Sep 18 '20 13:09 kadyb

Additionally, we could implement the geometry acquisition function (get from API) for selected voivodeships, counties and communes. This would be an alternative to downloading the entire Państwowy Rejestr Granic (375MB).

That would be great! Revese geocoding could also be nice, but not as useful as the first thing.

Nowosad avatar Sep 18 '20 13:09 Nowosad

Ewidencja Gruntów i Budynków is provided as a WFS service (not all counties are available). How can we deal with it in R:

kadyb avatar Sep 25 '20 09:09 kadyb

GUGiK added the ability to download the topographic databases for voivodeships and the entire country (not only for individual counties as now).

http://www.gugik.gov.pl/aktualnosci/24.11.2020-ulatwienie-w-pobieraniu-danych-bdot10k

kadyb avatar Nov 24 '20 11:11 kadyb

Recently, some datasets can be downloaded using WFS and WCS services (spatial coverage can be specified).

kadyb avatar Jun 30 '21 08:06 kadyb