Gist 579caa8bfe43675208d2
✓ Published0🌍 Public
FFrieseWoudloper
Last edited Oct 26, 2015
Created on Oct 26, 2015
This example shows elevation data for the Zoutkamp area in the Netherlands, displayed as a raster map using the AHN2 height model. It demonstrates two methods for retrieving and plotting the data: the first downloads a GeoTIFF directly via `download.file` and loads it with `raster::brick` before plotting, while the second fetches a PNG using `RCurl::getBinaryURL` and reads it with the `png` package, then converts the red channel into a `raster` object. Both approaches query the same national georegister WMS service, requesting a 1000x1250 pixel tile with the `ahn2_05m_int` layer and EPSG:28992 projection, and the resulting maps are displayed with `plot`.
AI-generated description