Difference between revisions of "Working with Raster"

From OpenJUMP Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
Reading [[MrSID]] image files
 
Reading [[MrSID]] image files
  
Reading [[Jpeg2000]] image files
+
Reading [[JPEG2000]] image files
 
 
'''ECW''' (Windows users): OpenJUMP can read ECW if Mapper ECW drivers NcsCnet.dll, ''NCSEcw.dll'' and ''NCSUtil.dll'' are copied in  OpenJUMP/lib/ext folder, and if ermapper.jar is available in OpenJUMP/lib folder.
 
These files can be find on the [http://www.ermapper.com/ProductView.aspx?t=28 ER Mapper web page] as part of Image Compression SDK. They can also be download from some Fttp severs (see  [http://people.ok.ubc.ca/mberger/MiscSW/IrfanView/Plugins/Ecw/ Irfanview] Ecw plugin).
 
 
 
'''Note''': The last ECW SDK found on ER Mapper site is not compatible with the java wrapper available in OpenJUMP distribution, and it seems that ER Mapper do not maintain this java wrapper. To use the plugin, you need the jar file included in OpenJUMP distribution and the ecw dll available in OpenJUMP project svn tree (I did not find the exact version of all these binaries). Here is an interseting document about the [http://www.deegree.org/deegree/deegreeday/2007/presentations/deegreeDay2007_Stutte_WcsIssues.pdf subject]
 
 
 
 
 
'''MrSID'''
 
: Opens aerial or satellite photos in MrSid format (.SID extension).
 
: This function is deactivated for default. To activate this function user must install the MrSid extension in OpenJUMP.
 
: TIP: to install MrSID extension: (note: instructions for NightlyBuild below)
 
:* (1) download ''mrsidgeodecode.exe'' and  ''mrsidgeoinfo.exe''  from [http://www.lizardtech.com LizardTech website],
 
:* (2) on Windows platforms create a ECT folder in the 'program' folder (e.g. 'C:\Program Files\etc\') and put the 2 files in it. 
 
:* (3)Now, rename the files: ''mrsidgeodecode_win.exe'' to mrsiddecode.exe and ''mrsidgeoinfo_Win.exe'' to ''mrsidinfo.exe''.
 
:* (4) Start OpenJUMP and look if you can load the files
 
:* (6) Create also a TEMP folder inside OpenJUMP install folder and give it read/write permissions. This is where the Openjump stores temp info for the MrSID images being read. This trick probabily works only for MS Windows based Operative Systems.
 
:* If you encounter problems with the new Lizard extensions, download the old ''mrsidinfo.exe'' file [http://www.ashsiii.com/downloads/mrsidinfo.zip here]
 
:* for users of nighlty build (since May 2008): place the files: mrsidgeodecode.exe and mrsidgeoinfo.exe in the /etc/ folder of OpenJUMP. Create also the folder called "TMP" in the OJ "ETC" folder. that's it. Check now if the option to load "MrSID" files is offered in the file load dialog.
 
 
'''MrSID''' (Windows users): To open MrSID files click on Menubar>Layer>Add MrSID Layer. This function is deactivated for default . To activate this function user must install the MrSid extension in Openjump. See [[Add MrSID Layer]] how to setup MrSID reader in OpenJUMP. [http://www.lizardtech.com/download/dl_options.php?page=tools MrSIS Decode] of Lizardtech(R)allows to convert Mrsid files to TIFF and GeoTIF .
 
 
 
'''MrSID''' (non Windows users): See The JUMP Pilot Project feature request - [https//sourceforge.net/tracker/?func=detail&atid=997723&aid=1803634&group_id=118054 MrSID on non-windows platforms]. Note that the advice may not work on all systems.
 
  
 
=== New Raster framework (Sextante compatible) ===
 
=== New Raster framework (Sextante compatible) ===

Revision as of 11:57, 8 October 2011

back to New User Guide Index page

Open Raster Files

Old Raster framework

To open Raster Files click on Menubar>Layer>Add Image Layer (ecw deactivated) function or Menubar>Open Files.. Currently OpenJump can read GIF PNG JPG JPEG TIF and TIFF. ECW is actually deactivated. Other format can be supported using external files:

Reading additional image formats

Reading ECW image files

Reading MrSID image files

Reading JPEG2000 image files

New Raster framework (Sextante compatible)

Save Raster Files

OpenJUMp can save a project view to raster files. To save the view to Raster file choose Menubar>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

Basic OpenJUMP setup does not have support for Raster trasparency. However, if image files are loaded with "Sextante Raster Image" then this function is available. (This function has been copied from Pirols Raster Image Plugin=

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 [http://www.fsdeveloper.com/wiki/index.php?title=Working_with_FwTools_and_GeoTIFF_files

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