• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..25-Oct-2021-

LERCV1/H03-May-2022-1,099841

BitMask2D.hH A D25-Oct-20215.4 KiB211113

GNUmakefileH A D25-Oct-20212.2 KiB7745

JPEG12_band.cppH A D25-Oct-2021813 308

JPEG_band.cppH A D25-Oct-202124.2 KiB689432

JPNG_band.cppH A D25-Oct-20216.3 KiB199135

LERC_band.cppH A D25-Oct-202119.4 KiB569413

PNG_band.cppH A D25-Oct-202112.5 KiB366218

Packer.hH A D25-Oct-20211.3 KiB4827

Packer_RLE.cppH A D25-Oct-20216.3 KiB210123

Packer_RLE.hH A D25-Oct-2021886 268

READMEH A D25-Oct-20212.3 KiB9567

Tif_band.cppH A D25-Oct-20218.7 KiB214127

makefile.vcH A D25-Oct-20212.9 KiB10762

marfa.hH A D25-Oct-202126.2 KiB795479

marfa_dataset.cppH A D25-Oct-202180.5 KiB2,2671,525

mrf_band.cppH A D25-Oct-202134.9 KiB1,023653

mrf_overview.cppH A D25-Oct-202117.3 KiB458303

mrf_util.cppH A D25-Oct-202121.1 KiB615391

README

1Introduction
2
3This software is designed for encoding image data into Tiled WMS format, known as Meta Raster Format or MRF.  TWMS is based on packing all tiles into a single binary data file with external index and header files.  MRF data encoding is performed using a custom GDAL driver.
4
5Requirements
6
7gdal 1.9.0  (NOTE:  Source code must be retained to build MRF driver.)
8
9Step 1 – Install GDAL
10
11The MRF driver plugin links with the rest of GDAL and it has to be compiled with the same compiler, libraries and same options that GDAL was compiled.  It is a plugin, but that doesn’t mean you compile it once and it works on any system with any GDAL.
12
13Download gdal-1.9.0 source:
14wget http://download.osgeo.org/gdal/gdal190.zip
15
16Unpack gdal-1.9.0 source:
17mkdir src
18mv gdal190.zip src/
19cd src/
20unzip gdal190.zip
21
22Go to the gdal source directory:
23cd gdal-1.9.0/
24
25Configure gdal source install:
26set LD_LIBRARY_PATH "<gdal install location>/lib:$LD_LIBRARY_PATH"
27./configure --prefix=<gdal install location>
28The <gdal install location> should be different from where you build the source code for gdal.
29
30Make gdal:
31make
32
33Install gdal:
34make install
35
36
37Step 2 – Install MRF driver
38
39Where,
40<tag location>
41configuration management
42
43<destination_directory>
44location of the MRF driver plugin source code
45
46<gdal source directory>
47location of GDAL source code
48
49<gdal install location>
50location of GDAL installed software
51
52Check out tagged copy of twms gdal driver:
53Eg: svn co https://<tag location> <destination_directory>
54
55Copy the mrf gdal driver to the gdal source tree (this plugin must be compiled here):
56cp -R <destination_directory>/GDAL_MRF/*  <gdal source directory>/frmts/
57
58Go to the mrf driver source directory:
59cd frmts/mrf
60
61Make the driver:
62cp GNUMake Makefile
63make plugin
64
65Install the driver:
66mkdir –p <gdal install location>/lib/gdalplugins
67
68make iplugin
69-OR-
70cp gdal_mrf.so.1 <gdal install location>/lib/gdalplugins
71
72Create links:
73cd <gdal install location>/lib/gdalplugins
74ln -s gdal_mrf.so.1 gdal_mrf.so
75ln –s <gdal install location>/lib/gdalplugins <destination_directory>
76
77Step 3 – Testing
78Verify that the MRF driver is recognized by GDAL:
79gdalinfo --format MRF
80
81List of delivered files
82frmt_marfa.html
83GNUmakefile
84JPEG_band.cpp
85makefile.vc
86marfa_dataset.cpp
87marfa.h
88mrf_band.cpp
89PNG_band.cpp
90Raw_band.cpp
91Tif_band.cpp
92util.cpp
93ZLIB_band.cpp
94
95