Changes between Version 4 and Version 5 of ossimPreferenceFile


Ignore:
Timestamp:
Dec 17, 2009, 9:42:37 AM (14 years ago)
Author:
gpotts
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ossimPreferenceFile

    v4 v5  
    1919{{{
    2020// ------------------------------------------------------------------------
    21 // $Id ossim_preferences_template 14810 2009-06-30 20:33:21Z $
     21// $Id: ossim_preferences_template 14810 2009-06-30 20:33:21Z dburken $
    2222//
    2323// Description:  ossim_preferences_template
     
    4545// ------------------------------------------------------------------------
    4646
    47 
    48 // ---
    49 // Elevation cell support:
    50 //
    51 // NOTE: Put you highest (best) resolution data first.
    52 //
     47// ---
    5348// Keyword pair:
    5449// elevation_source.type
     
    6055//
    6156// There are four elevation_source.type types:
    62 // elevation_source.type: dted_cell
    63 // elevation_source.type: srtm_cell
    6457// elevation_source.type: dted_directory
    6558// elevation_source.type: srtm_directory
    6659// elevation_source.type: general_raster_directory
    6760//
    68 // The elevation_source.filename keyword should point to a cell or a directory.
     61// The elevation_source.connection_string is a connection for your database.  Typically this is a directory location.
    6962//
    7063// NOTES:
     
    7366// srtm_directory
    7467// dted_cell
    75 // ---
    76 
    77 elevation_source1.filename: /data/image_formats/elevation/srtm/1arc
     68//
     69//
     70// We support bringing cells into memory for dted and srtm datasets.  You can also control the number of open cells by
     71// specifying a min and max open cells.  If the number of cells opened exceeds the maximum then it will shrink the active
     72// opened cells to the minumum.  We currently use a least recently used algorithm.
     73// Examples:
     74//---
     75elevation_source1.connection_string: /data/elevation/srtm1
    7876elevation_source1.type: srtm_directory
    79 
    80 elevation_source2.filename: /data/image_formats/elevation/dted/level2
     77elevation_source1.min_open_cells: 25
     78elevation_source1.max_open_cells: 50
     79elevation_source1.memory_map_cells: true
     80
    8181elevation_source2.type: dted_directory
    82 
    83 elevation_source3.filename: /data/image_formats/elevation/srtm/3arc
    84 elevation_source3.type: srtm_directory
    85 
    86 elevation_source4.filename: /data/image_formats/elevation/dted/level1
    87 elevation_source4.type: dted_directory
    88 
    89 
    90 default_elevation_path: /data/image_formats/elevation/srtm/1arc
    91 
    92 autoload_dted_elevation:  true
     82elevation_source2.connection_string: /data/elevation/dted/1k
     83elevation_source2.min_open_cells: 25
     84elevation_source2.max_open_cells: 50
     85elevation_source2.memory_map_cells: true
     86
     87elevation_source3.connection_string: /data/elevation/general_raster_srtmplus
     88elevation_source3.type: general_raster_directory
     89elevation_source3.min_open_cells: 25
     90elevation_source3.max_open_cells: 50
     91elevation_source3.memory_map_cells: false
     92
     93// ---
     94// Keyword:  default_elevation_path
     95// Default path for the elevation manager popup "Add" to start at.
     96default_elevation_path:  /images/elevation/srtm/1arc
     97// ---
     98
     99// ---
     100// Keyword:  elevation.enabled
     101// If disabled calls to the elevation manager getHeightAboveMSL and
     102// getHeightAboveEllipsoid will return a null height.  (default=true)
     103// Use: "true", "yes", "y" or "1" to enable,
     104//      "false", "no", "n" or "0" to disable.
    93105elevation.enabled:  true
    94 elevation.auto_sort.enabled:  true
    95 elevation.auto_load_dted.enabled:  true
    96 
     106// ---
     107
     108
     109// ---
     110// Keyword:  elevation.compute_statistics.enabled
     111//
     112// Enable computations of min and max height of each elevation cell.  This
     113// will force a write of a statistics file if one does not exists.  If disabled
     114// and the statistics file is not present the min and max value will be
     115// undefined.  Typically if you are doing mosaics of elevation you would want
     116// this on.  If you don't want a pause computing stats like in a 3d viewer
     117// you would want this off.  (default=true)
     118//
     119// Use: "true", "yes", "y" or "1" to enable,
     120//      "false", "no", "n" or "0" to disable.
     121elevation.compute_statistics.enabled:  true
     122// ---
     123
     124// ---
     125// Location of datum grids:
     126//
     127// Snip from: http://www.ngs.noaa.gov/TOOLS/Nadcon/Nadcon.html
     128//
     129// Advances in the accuracies now obtainable in geodetic surveys, specifically
     130// through use of differential GPS, has allowed for the creation of state
     131// High Precision Geodetic Networks (HPGNs), also referred to as High Accuracy
     132// Reference Networks (HARNs) throughout the country.
     133// ---
     134// datum_grids: /data/ossim/elevation/nadcon-grids
     135
     136// ---
     137// For state plane projection factory.  Note do not add harn if you do not
     138// have the harn datum grids.
     139// ---
     140state_plane_csv_file1: /usr/local/share/ossim/state_plane.csv
     141state_plane_csv_file2: /usr/local/share/ossim/harn_state_plane_epsg.csv
     142
     143// ---
     144// deprecated for new geoid_ngs_directory keyword
     145//
     146// Geoid support:
     147// Note:  Since the sensor models do earth intersects at height above the
     148//        ellipsoid and the vertical datum of DTED is geoid_egm_96_grid, you
     149//        should have a geoid grid in place for accurate earth intersections.
     150// ---
     151// ---
     152// GEOID 99:  Set keyword to the directory containing the GEOID 99 grids.
     153//
     154// Notes: 
     155// - Grids must be in the native byte order.
     156// - Can be downloaded from:
     157// http://www.ngs.noaa.gov/GEOID/GEOID99
     158// ---
     159// geoid_99_directory:  /data/ele1/geoid/geoid99
     160
     161// current release only allows for a single directory
     162// we will allow for multiple directories later and auto detecting
     163// if possible.
     164//
     165// currently the file names are hard coded and need to be from the NGS distribution
     166// also downloadable from ftp.remotesensing.org under/ossim/test_data.tgz
     167//
     168geoid_ngs_directory: /data/ear1/geoid/geoid99
     169geoid_ngs_directory.byte_order: big_endian
     170
     171// --
     172
     173// ---
     174// Generic support has been added to each NGS geoid grid. You can download
     175// ngs grids for 1999, 2003, ... and should should work.
     176// byte order can be big_endian or little_endian
     177//geoid_ngs_directory1: /data/ear1/geoidngs99
     178//geoid_ngs_directory1.byte_order: little_endian
     179
     180// ---
     181// GEOID EGM 96:  Set keyword to the path to the egm96.grd
     182//
     183// Notes:
     184// - Grid must be in BIG ENDIAN (UNIX) format.
     185// - Can be downloaded from svn:
     186// svn co http://svn.osgeo.org/ossim/trunk/ossim_package_support/geoids geoids
     187// ---
     188geoid_egm_96_grid: /data/ele1/geoid/geoid96/egm96.grd
     189
     190
     191// ---
     192// Font support:
     193// NOTE:  To use the MapCompositionSource you must at least have "font.dir1"
     194//        set to some default.
     195// ---
     196// font.file1: /usr/share/fonts/default/Type1/b018032l.pfb
     197// font.dir1: /usr/share/fonts/default/Type1
     198
     199
     200//---
     201// OSSIM plugin support:
     202//
     203// Notes: 
     204//
     205// Embedded trace debug can be turned on using "ossimDynamic"
     206// eg using icp application:
     207// $ icp -T ossimDynamic
     208// ossimDynamicLibrary::load DEBUG:
     209// Loaded library:  /usr/local/lib/libossimpng_plugin.so
     210// ossimDynamicLibrary::load DEBUG:
     211// Loaded library:  /usr/local/lib/libossimgdal_plugin.so
     212// ossimDynamicLibrary::load DEBUG:
     213// Loaded library:  /usr/local/lib/libossimreg_plugin.so
     214// ossimDynamicLibrary::load DEBUG:
     215// Loaded library:  /usr/local/lib/libossimcontrib_plugin.so
     216//
     217// Keywords:
     218//
     219// plugin.dir1:  < directory where plugins are >
     220//
     221// you can also list by individual file names
     222//
     223// plugin.file1: < full path and file name >
     224//---
     225// Example, edit/uncomment as needed:
     226// plugin.file1: /usr/local/lib/libossimpng_plugin.so
     227// plugin.file2: /usr/local/lib/libossimgdal_plugin.so
     228// plugin.file3: /usr/local/lib/libossimreg_plugin.so
     229// plugin.file4: /usr/local/lib/libossimcontrib_plugin.so
     230//
     231// END OSSIM plugin support
     232//---
     233
     234// Toggles for recceVue application:
    97235statusLatLon: true
    98236statusHeight: true
     
    101239statusUpdateOnClick: true
    102240
    103 // ---
    104 // Geoid support:
    105 // Note:  Since the sensor models do earth intersects at height above the
    106 //        ellipsoid and the vertical datum of DTED is geoid_egm_96_grid, you
    107 //        should have a geoid grid in place for accurate earth intersections.
    108 // ---
    109 
    110 // ---
    111 // GEOID 99:  Set keyword to the directory containing the GEOID 99 grids.
    112 //
    113 // Notes: 
    114 // - Grids must be in the native byte order.
    115 // - Can be downloaded from:
    116 // http://www.ngs.noaa.gov/GEOID/GEOID99
    117 // ---
    118 geoid_99_directory:  /data/image_formats/elevation/geoid99_little_endian
    119 
    120 // ---
    121 // GEOID EGM 96:  Set keyword to the path to the egm96.grd
    122 //
    123 // Notes:
    124 // - Grid must be in BIG ENDIAN (UNIX) format.
    125 // - Can be downloaded from:
    126 // http://earth-info.nima.mil/GandG/wgs84/gravitymod/egm96/ww15mgh.grd.z
    127 // ---
    128 geoid_egm_96_grid: /data/image_formats/elevation/geoid96_big_endian/egm96.grd
    129 // ---
    130 
    131 // ---
    132 // For state plane projection factory.
    133 // ---
    134 state_plane_csv_file1: /work/drb/ossim/share/ossim/state_plane.csv
    135 state_plane_csv_file2: /work/drb/ossim/share/ossim/harn_state_plane_epsg.csv
    136 
    137 // ---
    138 // plugin support:
    139 // ---
    140 plugin.file1: /work/drb/ossim_plugins/lib/libossimpng_plugin.so
    141 plugin.file2: /work/drb/ossim_plugins/lib/libossimKakaduPlugin.so
    142 plugin.file3: /work/drb/ossim_plugins/lib/libossim_plugin.so
    143 plugin.file4: /work/drb/ossim_plugins/lib/libossimOpenJpeg_plugin.so
    144 plugin.file5: /work/drb/ossim_plugins/lib/libossimreg_plugin.so
    145 plugin.file6: /work/drb/ossim_plugins/lib/libossimgdal_plugin.so       
    146 
    147 // ---
     241
     242// ---
     243// Keyword: cache_size
    148244// The cache size is in megabytes
    149245// ---
    150 // cache_size: 256
    151 // cache_size: 512
    152 // cache_size: 1024
    153 cache_size: 2048
     246cache_size:
    154247
    155248// ---
    156249// Keyword: overview_stop_dimension
    157250//
    158 // Affects any overview building from img2rr, imagelinker, iview.
    159 //
    160 // This is the point where "img2rr" or the overview builded will stop
     251// Affects any overview building from img2rr, imagelinker, iview. Controls
     252// the amount of resLevels created.
     253//
     254// This is the point where "img2rr" or the overview builder will stop
    161255// decimating the image down.  So in other words, if the
    162256// overview_stop_dimension keyword is 64, img2rr application will build
     
    189283// ---
    190284// tile_size: 32 32
    191 // tile_size: 64 64
     285tile_size: 64 64
    192286// tile_size: 128 128
    193 tile_size: 256 256
     287// tile_size: 256 256
    194288// tile_size: 512 512
    195289// tile_size: 1024 1024
    196290
    197 // font.file1: /usr/share/fonts/default/Type1/b018032l.pfb
    198 font.dir1: /usr/share/fonts/default/Type1
     291
     292// ---
     293// Keyword: shapefile_colors_auto
     294//
     295// Shape file colors set to automatic.
     296// This is a boolean value.  If true pen and brush color of shape files will
     297// be determined by indexing a color table in a round robin approach.  If set
     298// to true the auto colors override keywords for "pen" and "brush" color.
     299// Default value if not found if "false".
     300//
     301// Value can be: true, yes, y, 1, false, no, n or 0
     302// ---
     303shapefile_colors_auto: false
    199304
    200305// ---
     
    203308// brightness and 0.0 being black.
    204309// ---
    205 shapefile_normalized_rgb_pen_color: 1.0 0.004 0.004
     310shapefile_normalized_rgb_pen_color: 0.004 1.0 0.004
    206311
    207312// ---
     
    211316// ---
    212317shapefile_normalized_rgb_brush_color: 0.004 1.0 0.004
    213      
     318
     319// ---
     320// Shape file point size:
     321// Width and height for points in pixels.
     322// ---
     323shapefile_point_size: 6.0 6.0
     324
     325
     326// --------------------------
     327// Some keywords for the OSSIM GUI application
     328//
     329//
     330// igen spec files output./  This is the directory location you would
     331// like the igen export GUI to default to when outputing spec files
     332ossim.igen_spec_output_directory: /work/gpotts/igen_test
     333
     334// this is the igen executable.  Make sure you put the full path
     335ossim.igen_executable:  /work/gpotts/ossim/bin/igen
     336
     337// END keywords for OSSIM GUI
     338//--------------------------
     339
     340//---------------------------------------
     341// osgPlanet Reference background setup
     342
     343// Image type
     344//
     345//
     346ossimosgplanet.background.type: local
     347
     348// each image listed with file0 ... file<n>
     349//
     350ossimosgplanet.background.file0: C:\Program Files\Common Files\ossim\images\earth.tif
     351ossimosgplanet.background.transparent_color_flag:0
     352ossimosgplanet.background.transparent_color: 0 0 0
     353ossimosgplanet.background.opacity: 255
     354
     355// END osgPlanet Reference Background
     356//---------------------------------------------
     357
    214358// ---
    215359// Position Quality Evaluator (PQE) keywords.