└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # ArcMap-to-R 2 | 3 | The purpose of this repository is help me remember how to perform various geoprocessing operations across Esri's ArcMap and R's `sf` and `raster` packages. Sometimes the tools use the same name, sometimes they don't. 4 | 5 | # Vector (feature class) Operations 6 | 7 | **Operation**|**ArcMap**|**sf** 8 | :-----:|:-----:|:-----: 9 | Project New Coordinate System|Define Projection|`st_transform`, `st_crs` 10 | Buffer|Buffer|`st_buffer` 11 | Find Centroid|Field Calculator|`st_centroid` 12 | Simplify Geometry|Simplify Polygon, Simplify Line|`st_simplify` 13 | Triangulate Points|Create TIN|`st_triangulate` 14 | Create Voronoi Polygons|Create Theissen Polygons|`st_voronoi` 15 | Create Convex Hull|Minimum Bounding Geometry|`st_convex_hull` 16 | Find Intersection|Intersect|`st_intersect` 17 | Find Overlap|Identity|`st_difference` 18 | Crop/Clip|Clip|`st_crop`, `st_intersection` 19 | Spatial Join|Spatial Join|`st_union`, `st_join` 20 | Calculate Proximity|Near|`st_nearest_feature`, `st_nearest_point` 21 | Symmetrical Difference|Symmetrical Difference|`st_sym_difference` 22 | 23 | # Raster Operations 24 | 25 | **Operation**|**ArcMap**|**raster** 26 | :-----:|:-----:|:-----: 27 | Manipulate Raster Values|Raster Math|`values(r) <- {function}`, `calc`, `overlay` 28 | Vector to Raster|Polygon to Raster|`rasterize` 29 | Extract Values by Point|Extract Multi Values to Points|`extract` 30 | Project CRS|Project|`crs`, `projectRaster` 31 | Change grid cell size|Environment Settings > Raster Analysis|`aggregate` 32 | Reclassify Values|Reclassify|`reclassify` 33 | Hillshade|Hillshade|`hillShade` 34 | Create contours|Contour|`contour` 35 | Zonal statistics|Zonal Statistics, Zonal Statistics as Table|`zonal` 36 | Aspect/Direction|Aspect|`direction` 37 | --------------------------------------------------------------------------------