1. Introduccion

cvbnmmmmmmmmmmmmmmm

XYZ BNM

2. Configuración

zxcccccc

library(sf)
## Warning: package 'sf' was built under R version 4.2.3
## Linking to GEOS 3.9.3, GDAL 3.5.2, PROJ 8.2.1; sf_use_s2() is TRUE
library(ggplot2)
library(dplyr)
## Warning: package 'dplyr' was built under R version 4.2.3
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(ggspatial)
## Warning: package 'ggspatial' was built under R version 4.2.3

3. Leer y escribir datos

list.files("GB2-20250410T141831Z-001/GB2/P1/Datos/municipios")
##  [1] "aguas_nariñito.gpkg"          "MGN_ADM_MPIO_GRAFICO.cpg"    
##  [3] "MGN_ADM_MPIO_GRAFICO.dbf"     "MGN_ADM_MPIO_GRAFICO.prj"    
##  [5] "MGN_ADM_MPIO_GRAFICO.sbn"     "MGN_ADM_MPIO_GRAFICO.sbx"    
##  [7] "MGN_ADM_MPIO_GRAFICO.shp"     "MGN_ADM_MPIO_GRAFICO.shp.xml"
##  [9] "MGN_ADM_MPIO_GRAFICO.shx"     "nariñito_vias.cpg"           
## [11] "nariñito_vias.dbf"            "nariñito_vias.prj"           
## [13] "nariñito_vias.shp"            "nariñito_vias.shx"

cvbbbbbbb

# comentario
colombia = st_read("GB2-20250410T141831Z-001/GB2/P1/Datos/municipios/MGN_ADM_MPIO_GRAFICO.shp")
## Reading layer `MGN_ADM_MPIO_GRAFICO' from data source 
##   `C:\Users\usuagro\Documents\GB2-2025 nicolin\GB2-20250410T141831Z-001\GB2\P1\Datos\municipios\MGN_ADM_MPIO_GRAFICO.shp' 
##   using driver `ESRI Shapefile'
## Simple feature collection with 1121 features and 11 fields
## Geometry type: MULTIPOLYGON
## Dimension:     XY
## Bounding box:  xmin: -81.73562 ymin: -4.229406 xmax: -66.84722 ymax: 13.39473
## Geodetic CRS:  MAGNA-SIRGAS
colombia