h2. General
{html}
<!-- Metadata in schema.org format -->
<div itemscope itemtype="http://schema.org/Dataset">
The <a href="The [Actueel Hoogtebestand Nederland|http://www.ahn.nl" itemprop="name">Actueel Hoogtebestand Nederland</a> ] versie 2
(<span itemprop="name">AHN2</span>AHN2), was made available <span itemprop="datePublished">20142014-03-06</span>06.
The dataset covers the topography of <span itemprop="spatial" itemscope itemtype="http://schema.org/Country">thethe Netherlands (<span itemprop="address">nl</span>)</span>, measured <span itemprop="temporal" itemscope itemtype="http://schema.org/DateTime"> from <span itemprop="startTime">2011</span> through <span itemprop="endTime">2012</span>.
</div>
{html}nl), measured from 2011 through 2012.
{html}
<img src="http://lab.linkeddata.deri.ie/2010/lod-badges/img/data-badge-3.png" alt="three star open Web data" />
{html}
h2. Formats
The data is available in pointclouds (las) and as a map (tiff).
h2. Services
Using the AHN2 as a background map can be done using one of the WMS services:
The full list is available at [https://www.pdok.nl/nl/producten/pdok-services/overzicht-urls]
The relevant url's are:
WMS:
- [http://geodata.nationaalgeoregister.nl/ahn1/wms]
- [http://geodata.nationaalgeoregister.nl/ahn2/wms]
WFS:
- [http://geodata.nationaalgeoregister.nl/ahn1/wfs]
- [http://geodata.nationaalgeoregister.nl/ahn2/wfs]
WMTS:
- [http://geodata.nationaalgeoregister.nl/tiles/service/wmts/ahn1]
- [http://geodata.nationaalgeoregister.nl/tiles/service/wmts/ahn2]
WCS
- [http://geodata.nationaalgeoregister.nl/ahn1/wcs]
- [http://geodata.nationaalgeoregister.nl/ahn2/wcs]
If you're using QGIS you can use the [pdok plugin|http://plugins.qgis.org/plugins/pdokservicesplugin/] which is very [handy|http://www.qgis.nl/2012/10/20/eenvoudige-pdok-services-plugin-voor-qgis/] (in dutch).
h2. Downloading
To download the data use one of the atomfeeds to get a list of files.
[https://www.pdok.nl/nl/producten/pdok-downloads/atomfeeds]
h2. Examples
h4. Qgis
Load the PDOK plugin. Add the AHN2 WMTS service from the list (for viewing). You should see something like:
!ahn2_in_qgis.png|thumbnail!
h4. Python
Notebook: [https://svn.oss.deltares.nl/repos/openearthtools/trunk/python/notebooks/ahn2.ipynb]
h4. Matlab
OpenEarthTOols has a function {{wcs}} and {{wms}} for using the web services, which can be dowloaded [here|https://svn.oss.deltares.nl/repos/openearthtools/trunk/matlab/applications/arcgis/] after [registration|Join+OpenEarth].
{code}
server = 'http://geodata.nationaalgeoregister.nl/ahn2/wms?';
[url,OPT,lim] = wcs('server',server,...
'coverage','ahn2:ahn2_5m',... % shoudl not work: GeoTIFF (case)
'format','GeoTiff',...
'crs','epsg:4326',...
'axis',[94000 466000 96000 468000],...
'resx',5,'resy',5);
{code}
!ahn2_ahn2_5mGeoTIFF.png|width=400px!
h4. Other
Grontmij made a nice [overview of possible use cases|http://www.slideshare.net/XanderBakker/ahn2-voor-waterbeheer-gis-conferentie-2012-grontmij].
h2. Issues
The WCS of PDOK.nl does not seem to support v1.1.0, only 1.0.0 and 1.1.1.
The WMTS layer does not seem to work when zoomed out in QGIS.
h2. Structured info
The following text follows the [schema.org|http://schema.org] convention and is used for structured search engines. See html source for details.
{html}
<!-- Metadata in schema.org format -->
<div itemscope itemtype="http://schema.org/Dataset">
The <a href="http://www.ahn.nl" itemprop="name">Actueel Hoogtebestand Nederland</a> versie 2
(<span itemprop="name">AHN2</span>), was made available <span itemprop="datePublished">2014-03-06</span>.
The dataset covers the topography of <span itemprop="spatial" itemscope itemtype="http://schema.org/Country">the Netherlands (<span itemprop="address">nl</span>)</span>, measured <span itemprop="temporal" itemscope itemtype="http://schema.org/DateTime"> from <span itemprop="startTime">2011</span> through <span itemprop="endTime">2012</span>.
</div>
{html}
|