Raster manager is a C++ tool created by North Arrow Research. It is designed to provide rock-solid operations for manipulating rasters.
It does not depend on any of our other git repositories. GDAL 1.10 is required
Rasterman
Usage: rasterman <command> [parameters...]
All commands have in-depth help. Just type rastermanager <command>
-
rasterDisplay basic properties (rows, cols etc) for a raster. -
bilinearBilinear resample of a raster to produce a new raster. -
copyCopy a raster to produce a new raster with the specified extent. -
mosaicStitch two or more overlappint rasters. -
maskMask one raster using another. -
hillshadeCreate a hillshade raster -
slopeCreate a slope raster -
addAdd two rasters or a raster and a constant. -
subtractSubtract two rasters or a constant from a raster. -
divideDivide a raster by a number or another raster. -
multiplyMultiply a raster by a number or another raster. -
powerRaise a raster to a power. -
sqrtGet the square root of a raster. -
csv2rasterconvert a .csv file into a .tiff
Currently Rastermanager builds on Win32, Win64, Ubuntu12.04 and OSX 10.10.
In order to build this project alongside our Habitat Model tools you will need the following directory structure so that everything else can find rastermanager:
<PROJECTROOT>/
<PROJECTROOT>/RasterManager/rastermanager/ <-- This repo's root
<PROJECTROOT>/HabitatModel/habitatmodel <-- CHaMP Habitat model repo root
<PROJECTROOT>/Deploy/Debug(32/64) <-- Debug executable for all projects
<PROJECTROOT>/Deploy/Release(32/64) <-- Release executables for all projects
Once Qt5 and GDaL are installed it should just be a matter of running the following
qmake -r RasterManager.pro
make
sudo make install
Now you should have rasterman in your /usr/bin an the libRasterManager.* files in /usr/lib
- At present this tool only works on rasters with a single band.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D