GRASS logo

NAME

r.in.ign imports raster data from IGN WMTS service. Available layers depend upon the user's contract.

KEYWORDS

raster, import, wms, wmts, ign

SYNOPSIS

r.in.ign
r.in.ign help
r.in.ign [-cm] apikey=string user=string password=string wmtslayer=string tiletype=string output=string [--overwrite] [--verbose] [--quiet]

FLAGS

-c
Get capabilities
-m
output 3 separate-band rasters rather than a composite RGB raster
--overwrite
Allow output files to overwrite existing file
--verbose
Verbose module output
--quiet
Quiet module output

PARAMETERS

apikey=string [required]
personal apiKey
user=string [required]
Username for server connection
password=string [required]
Password for server connection
wmtslayer=string
Layer to request from WMS server
tiletype=string
tile image format
output=string
Name for output raster map

NOTES

r.in.ign lets you query a dataset via a contract. Beware the conditions that come with it and terms of use that apply to data.

It is only a transitory module aiming at allowing french wmts support for GRASS 6.4 version (r.in.wms module fails at requesting this service, and r.in.wms.py Add-On does not correctly handle french projection systems (which operate nadgrid-based datum shifts). It is quite rough but easily adaptable to one's personnal needs.

Connecting to the WMTS streams of Géoportail is not straight, in cause a restricted access protected by a personal apiKey that comes with your contract. See practical details concerning registration on the official website.

EXAMPLE

This command returns the list of available layers for contract pi3cawp5p883ql4bdk3bhert owned by vincent :

r.in.ign -c apikey=pi3cawp5p883ql4bdk3bhert user=vincent password=******

Import orthoimagery from IGN wmts server, to 3 raster bands orthoign.red, orthoign.green, orthoign.blue:

r.in.ign -m apikey=pi3cawp5p883ql4bdk3bhert user=vincent password=****** wmtslayer=ORTHOIMAGERY.ORTHOPHOTOS tiletype=jpeg output=orthoign

Import cadastral parcels from IGN wmts server to a raster parcels:

r.in.ign apikey=pi3cawp5p883ql4bdk3bhert user=vincent password=****** wmtslayer=CADASTRALPARCELS.PARCELS tiletype=png output=parcels

SEE ALSO

r.in.wms

AUTHOR

Vincent Bain, Toraval, France

Last changed: $Date$