Skip to content

Raster Manager is a open-source manipulator for raster files like GeoTiff, IMG etc. prominent features include: csv2raster, mosaic

License

Notifications You must be signed in to change notification settings

NorthArrowResearch/rasterman

Repository files navigation

RasterManager

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

Usage

 Rasterman
 Usage: rasterman <command> [parameters...]

Commands

All commands have in-depth help. Just type rastermanager <command>

  • raster Display basic properties (rows, cols etc) for a raster.

  • bilinear Bilinear resample of a raster to produce a new raster.

  • copy Copy a raster to produce a new raster with the specified extent.

  • mosaic Stitch two or more overlappint rasters.

  • mask Mask one raster using another.

  • hillshade Create a hillshade raster

  • slope Create a slope raster

  • add Add two rasters or a raster and a constant.

  • subtract Subtract two rasters or a constant from a raster.

  • divide Divide a raster by a number or another raster.

  • multiply Multiply a raster by a number or another raster.

  • power Raise a raster to a power.

  • sqrt Get the square root of a raster.

  • csv2raster convert a .csv file into a .tiff

Developer Notes:

Compatibility

Currently Rastermanager builds on Win32, Win64, Ubuntu12.04 and OSX 10.10.

Suggested Folder structure:

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

Compiling:

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

Known Issues / Caveats

  • At present this tool only works on rasters with a single band.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Developers

Contributors

License

GPL V3

About

Raster Manager is a open-source manipulator for raster files like GeoTiff, IMG etc. prominent features include: csv2raster, mosaic

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •