Skip to contents

Implementation of the "Appellations viticoles" module from the IGN's apicarto. The module uses a database maintained by FranceAgriMer. This database includes : appellation d'origine contrôlée (AOC) areas, protected geographical indication areas (IGP) and wine growing areas without geographical indications (VSIG)

Usage

get_apicarto_viticole(x,
                      dTolerance = 0)

Arguments

x

Object of class sf. Needs to be located in France.

dTolerance

numeric; tolerance parameter. The value of dTolerance must be specified in meters, see ?sf::st_simplify for more info.

Value

Object of class sf

Details

/!\ For the moment the API cannot returned more than 1000 features.

Examples

if (FALSE) {
library(sf)

penmarch <- read_sf(system.file("extdata/penmarch.shp", package = "happign"))

VSIG <- get_apicarto_viticole(penmarch)
}