Changes between Initial Version and Version 1 of ossim-chipper


Ignore:
Timestamp:
Jul 24, 2013, 8:59:44 AM (11 years ago)
Author:
dburken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ossim-chipper

    v1 v1  
     1= ossim-chipper =
     2ossim-chipper is a command line application used to generate elevation products from raw dem, dted, and srtm data. This application supports 2 basic functions: hillshade and color-relief. From these 2 operations you can create the following products.
     3
     4[[Image(dem.jpg)]]
     5
     6===   ===
     7== Color Relief ==
     8
     9Color Relief is used to generate an RGB or ARGB representation of a dem. Different colors are used to represent elevation bands. Users will provide a template with corresponding colors values.
     10
     11{{{
     12ossim-chipper --op color-relief --color-table template.kwl --srs EPSG:4326
     13input.src output.jpg
     14}}}
     15
     16Command line without dot.src file with lots of options:
     17{{{
     18ossim-chipper -t 512 --resample-filter BILINEAR  --op color-relief --color-table color-relief-lut1.kwl --output-radiometry U8 --writer-prop compression_quality=75 --writer-prop create_world_file=1 --writer-prop pixel_type=point --cut-bbox-ll 39.452331542969  -106.75654602051 40.507019042969 -105.43818664551 /data1/elevation/dted/level1/w107/n39.dt1 /data1/elevation/dted/level1/w107/n40.dt1  /data1/elevation/dted/level1/w106/n39.dt1 /data1/elevation/dted/level1/w106/n40.dt1 t1.tif
     19}}}
     20
     21There is a color relief template on:
     22
     23[http://trac.osgeo.org/ossim/browser/trunk/ossim/etc/templates/ossim-chipper-color-table-template.kwl]
     24
     25
     26===   ===
     27== Hillshade ==
     28
     29Hillshade is used to generate a shaded relief. It requires the following inputs:
     30 * Sun Azimuth
     31 * Sun Elevation
     32 * Vertical Exaggeration
     33 * Color (either RGB or Color Table)
     34
     35Example:
     36{{{
     37ossim-chipper --op hillshade --azimuth 270 --elevation 45 --exaggeration 10
     38--color 222,229,188 --srs EPSG:4326 input.src output.jpg
     39}}}
     40
     41Example with color table:
     42{{{
     43ossim-chipper --op hillshade --azimuth 270 --elevation 45 --exaggeration 10
     44--color-table template.kwl --srs EPSG:4326 input.src output.jpg
     45}}}
     46
     47Example with color table without dot.src file:
     48{{{
     49ossim-chipper --op color-relief --azimuth 270 --elevation 45 --exaggeration 1.5 --color-table color-relief-lut.kwl --srs EPSG:4326 n37.dt1 t1.tif
     50}}}
     51
     52
     53
     54===   ===
     55== Additional Parameters ==
     56ossim-chipper shares many of the parameters used in [wiki:orthoigen] including:
     57 * writer-props
     58 * resample-type
     59 * thumbnail
     60 * srs
     61
     62It accepts a comma delimited list of input files or a .src file. The output file extension is used to determine output format. As with [wiki:orthoigen], users can specify a writer to use with a -w argument.
     63
     64===   ===
     65== SRC File ==
     66The src file used by ossim-chipper is nearly identical to the one used by [wiki:orthoigen]. The primary difference between the 2 is the use of the dem keyword to distinguish elevation data from imagery data. Example:
     67
     68{{{
     69image0.file: C:\my_image.ntf
     70image0.entry: 2
     71image0.ovr: D:\support_dir\images\my_image.ovr
     72image0.rgb: 3,2,1
     73
     74dem0:file E:\N38W123.hgt
     75dem0.entry: 0
     76dem0.ovr: D:\support_dir\dems\N38W123.ovr
     77
     78dem1:file Z:\N37W123.hgt
     79dem1.entry: 0
     80dem1.ovr: D:\support_dir\dems\N37W123.ovr
     81}}}