| carte_import | R Documentation |
Importe un fichier geographique externe (shapefile, GeoJSON, GeoPackage) fourni par l'utilisateur ou l'INS.
carte_import(chemin, crs = 4326L, couche = NULL, simplifier = FALSE)
chemin |
character – Chemin vers le fichier (.shp, .geojson, .gpkg) |
crs |
integer – Code EPSG cible. Defaut : 4326 (WGS 84) |
couche |
character ou NULL – Couche GeoPackage. Defaut : NULL |
simplifier |
logical – Simplifier la geometrie. Defaut : FALSE |
Un objet sf
## Not run:
regions <- carte_import("data/regions_enquete.shp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.