Remote Sensing and GIS tools for R
read.shape is an easier alternative to readOGR, which pretends to be the easiest way to load shapefiles.
read.shape('./myshapefile.shp')
write.shape is an easier alternative to writeOGR, which pretends to be the easiest way to write shapefiles.
write.shape(shapeObject, './myshapefile.shp')
This is an alternative function to rasterToPolygons, which pretends to be the fastest way to perform this task. Original idea from gdal_polygonizeR. It also offers a directly way to create a mask.
shape <- rasterToPolygons0(rasterObject)
shape <- rasterToPolygons0(rasterObject, 255)
toGeoTIFF is a tiny gdal_translate wrapper. The aim is just to convert the given image into a GeoTIFF image.
toGeoTIFF('./image.JPG', './outputimage.tif')