The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

SCAN 25, SCAN 100 et SCAN OACI

library(happign)
#> Please make sure you have an internet connection.
#> Use happign::get_last_news() to display latest geoservice news.
library(sf)
#> Linking to GEOS 3.11.2, GDAL 3.6.2, PROJ 9.2.0; sf_use_s2() is TRUE

Brief presentation

Even if almost all IGN data are available to the general public, some layers are distributed within a stricter framework of use. The SCAN 25®, SCAN 100® and SCAN OACI (and associated online services) are distributed under license conditions that can be consulted [here](https://geoservices.ign.fr/cgu-licences#licence . The final use in a professional or associative context is free without exception, according to the terms of this license. The final use for the general public is free of charge up to a certain threshold, then paying, according to the appropriate general conditions. All infos can be found here.

What are they ?

How to use them with happign ?

These layers are WMS raster, so you just have to use the get_wms_raster() function with a personal apikey. To do this, you need to create an account on the geoservice site and then request a key in the “My keys” section of your account. It should look like this : “abc12efghi34j5k678lmnopq” (obviously, this is a fake key).

Then you choose the layer you want at the Web services from IGN SCANs and it’s done !

# Create or import a shape
penmarch <- get_apicarto_cadastre("29158", "commune")

my_key <- "abc12efghi34j5k678lmnopq"
scan25_name <- "SCAN25TOUR_PYR-JPEG_WLD_WM"

scan25 <- get_wms_raster(penmarch,
                         apikey = my_key,
                         layer = scan25_name,
                         res = 1,   # To have full resolution
                         filename = "SCAN25.tif") # This resource need to be downloaded on disk

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.