frmt_rmf.html 2.16 KB
Newer Older
xuebingbing's avatar
xuebingbing committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
<html>
<head>
	<title>RMF --- Raster Matrix Format</title>
</head>

<body bgcolor="#ffffff">

<h1>RMF --- Raster Matrix Format</h1>

RMF is a simple tiled raster format used in the GIS "Integration" and
"Panorama" GIS. The format itself has very poor capabilities.<p>

There are two flavors of RMF called MTW and RSW. MTW supports 16-bit integer
and 32/64-bit floating point data in a single channel and aimed to store DEM
data. RSW is a general purpose raster. It supports single channel colormapped
or three channel RGB images. Only 8-bit data can be stored in RSW. Simple
georeferencing can be provided for both image types.<p>

<h2>Metadata</h2>
<ul>
	<li> <b>ELEVATION_MINIMUM</b>: Minimum elevation value (MTW only).<p>

	<li> <b>ELEVATION_MAXIMUM</b>: Maximum elevation value (MTW only).<p>

	<li> <b>ELEVATION_UNITS</b>: Name of the units for raster values
	(MTW only). Can be "m" (meters), "cm" (centimeters),
	"dm" (decimeters), "mm" (millimeters).<p>

	<li> <b>ELEVATION_TYPE</b>: Could be either 0 (absolute elevation)
	or 1 (total elevation). MTW only.<p>

</ul>

<h2>Creation Options</h2>
<ul>
	<li> <b>MTW=ON</b>: Force the generation of MTW matrix (RSW will be
	created by default).<p>

	<li> <b>BLOCKXSIZE=n</b>: Sets tile width, defaults to 256.<p>

	<li> <b>BLOCKYSIZE=n</b>: Set tile height.  Tile height defaults to 256.<p>

	<li> <b>RMFHUGE=NO/YES/IF_SAFER</b>: Creation of huge RMF file (Supported by GIS Panorama since v11). Defaults to NO.<p>

	<li> <b>COMPRESS=NONE/LZW/JPEG/RMF_DEM</b>: (From GDAL 2.4) Compression type. Defaults to NONE.
		Note: JPEG compression supported only with RGB (3-band) Byte datasets.
		RMF_DEM compression supported only with Int32 one channel MTW datasets.<p>

	<li> <b>JPEG_QUALITY</b>: (From GDAL 2.4) JPEG quality 1-100. Defaults to 75.<p>

	<li><p><b>NUM_THREADS=number_of_threads/ALL_CPUS</b>: (From GDAL 2.4)
	Enable multi-threaded compression by specifying the number of worker threads.
	Default is compression in the main thread.</p></li>

	</ul>

<h2>See Also:</h2>

<ul>
<li> Implemented as <tt>gdal/frmts/rmf/rmfdataset.cpp</tt>.<p>

<li> <a href="http://www.gisinfo.ru/index_en.htm">"Panorama" GIS homepage</a><p>

</ul>

</body>
</html>