Difference between revisions of "Working with Raster"

From OpenJUMP Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
== Open Raster Files ==
 
== Open Raster Files ==
  
All raster readers support georeferencing via world file (see http://en.wikipedia.org/wiki/World_file).
+
All raster readers support georeferencing via world file (see http://en.wikipedia.org/wiki/World_file). Also see [[How to georeference rasters]].
  
To open raster image files click on '''File>Open...>''' and select "File" in the window on the left or use '''File>Open File...'''
+
To open raster image files  
 +
: click on '''File>Open''' and select '''File''' on the left side
 +
: or  
 +
: use '''File>Open File'''
  
 
There is a '''Layer>Image Layer Manager''' which allows you load several images into one layer and manage them.  
 
There is a '''Layer>Image Layer Manager''' which allows you load several images into one layer and manage them.  
Line 59: Line 62:
 
   
 
   
 
OpenJUMPs PLUS edition contains the Sextante Toolbox. That toolbox contains lots of raster processing and analysis functions.
 
OpenJUMPs PLUS edition contains the Sextante Toolbox. That toolbox contains lots of raster processing and analysis functions.
 +
 +
 +
  
 
== Save Raster Files ==
 
== Save Raster Files ==
Line 69: Line 75:
 
OpenJUMP can save to georeferenced file with world file. To save to georeferenced file make sure that the option '''Write World File''' is enabled.
 
OpenJUMP can save to georeferenced file with world file. To save to georeferenced file make sure that the option '''Write World File''' is enabled.
 
The Fence function  in the '''Save as Image''' window allows to save as Image the part of project within a fence.
 
The Fence function  in the '''Save as Image''' window allows to save as Image the part of project within a fence.
 +
 +
 +
  
 
== Raster Transparency ==
 
== Raster Transparency ==
  
 
Most readers respect the transparency that can be set in the layer properties context dialogue.
 
Most readers respect the transparency that can be set in the layer properties context dialogue.
 +
 +
 +
 +
  
 
== Georeference Raster ==
 
== Georeference Raster ==
  
 
See [[How to georeference rasters]] page
 
See [[How to georeference rasters]] page
 +
 +
 +
 +
  
 
== Raster Reprojection ==
 
== Raster Reprojection ==
Line 89: Line 106:
  
 
Some usefull software for local or national coordinate raster reprojection: [http://www.progettotrio.it/html/mod_prof/cartografia/lucchesi/tut/tut_03_georeferenziazione_01.zip Traspunto] (Gauss-Boaga, datum Roma40 - UTM, datum ED50 - UTM, datum WGS84)
 
Some usefull software for local or national coordinate raster reprojection: [http://www.progettotrio.it/html/mod_prof/cartografia/lucchesi/tut/tut_03_georeferenziazione_01.zip Traspunto] (Gauss-Boaga, datum Roma40 - UTM, datum ED50 - UTM, datum WGS84)
 +
 +
 +
 +
  
 
== Raster Filters ==
 
== Raster Filters ==
Line 95: Line 116:
  
 
<hr/>
 
<hr/>
 +
 +
 +
  
 
'''back to'''  New User Guide [[Index]] page
 
'''back to'''  New User Guide [[Index]] page

Revision as of 17:45, 29 December 2013

back to New User Guide Index page

Open Raster Files

All raster readers support georeferencing via world file (see http://en.wikipedia.org/wiki/World_file). Also see How to georeference rasters.

To open raster image files

click on File>Open and select File on the left side
or
use File>Open File

There is a Layer>Image Layer Manager which allows you load several images into one layer and manage them.

Format support

Currently [29.11.2013 OJ snapshot] OpenJUMP can read

BMP, DCX, FPX, GIF, JB2, JBIG2, JPEG, PAM, PBM, PCX, PGM, PNG, PNM, PPM, PSD, TGA, TIFF, WBMP, XBM, XPM

files out of the box. Additionally OpenJUMP Plus supports reading

  • ECW, JPEG2000
    • via native ECW SDK libraries with 32bit java on Windows, Linux, MacOSX
    • see ECW, JPEG2000
  • MRSID
    • via mrsid console binaries
    • see MrSID
  • ECW, JPEG2000, MRSID, NITF and many more (currently on Windows only)


Buffered Image Apache Commons reader

Reads a variety of raster formats http://commons.apache.org/proper/commons-imaging/formatsupport.html into memory, so be careful with big files.


GeoTIFF Plus (JAI) reader

The old GeoTIFF reader enhanced to support more formats. As the name suggests it supports GeoTIFF information.


Referenced Image reader

Supports reading raster files with all java APIs available in jre (ImageIO[ext], JAI, ImageCodec...). There maybe duplicate readers here to offer the user the choice to figure out which one works best or at all with the image files at hand.

Georeferencing is done via world files, GeoTIFF information or GDAL reader if installed like described below.

Additionally reads ECW, JPEG2000, MRSID and lots of more formats (see http://www.gdal.org/formats_list.html) on Windows only provided

Note: while not very performant, it works :)


Sextante Raster framework

Load an image/raster using the function File>Open...>. Select in the left window the "Sextante Raster Image" option.

OpenJUMPs PLUS edition contains the Sextante Toolbox. That toolbox contains lots of raster processing and analysis functions.



Save Raster Files

OpenJUMP can save a project view to raster files. To save the view to Raster file choose File>Save View as Image...

Currently only PNG and JPG are supported.

OpenJUMP can save to georeferenced file with world file. To save to georeferenced file make sure that the option Write World File is enabled. The Fence function in the Save as Image window allows to save as Image the part of project within a fence.



Raster Transparency

Most readers respect the transparency that can be set in the layer properties context dialogue.



Georeference Raster

See How to georeference rasters page



Raster Reprojection

Currently OpenJUMP does not support reprojection of Raster files. You can use FWTools: a set of tools for Linux and Windowsto which can view/edit/save several raster and vector file formats. Based on GDAL and OGR libraries, it includes the viewer OpenEV that provides access to the files with a graphic interface (see also GDAL Raster Formats and OGR Vector Format. There is also a tool to reproject raster files

See also Working with FwTools and GeoTIFF files from fsdevelopers.com

Some usefull information about raster reprojection software can be found in Leszek Pawlowicz's post Reprojecting Raster Imagery I and Reprojecting Raster Imagery II - ERDAS Viewfinder

Some usefull software for local or national coordinate raster reprojection: Traspunto (Gauss-Boaga, datum Roma40 - UTM, datum ED50 - UTM, datum WGS84)



Raster Filters

Image Plugin Enhancement, from Lenka Ferkova and Jan Kucharczyk, allows some filter operations on Image (edge, blur, inverse). User can define their own kernel filter.




back to New User Guide Index page