README.md

rsensing

Remote Sensing and GIS tools for R

R Package rsensing Licence

Included alternative functions

read.shape

read.shape is an easier alternative to readOGR, which pretends to be the easiest way to load shapefiles.

read.shape('./myshapefile.shp')

write.shape

write.shape is an easier alternative to writeOGR, which pretends to be the easiest way to write shapefiles.

write.shape(shapeObject, './myshapefile.shp')

rasterToPolygons0

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

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')


ahornero/rsensing documentation built on May 8, 2019, 1:37 a.m.