Changes between Version 9 and Version 10 of ossimPreferenceFile


Ignore:
Timestamp:
Dec 7, 2010, 4:59:29 AM (13 years ago)
Author:
dburken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ossimPreferenceFile

    v9 v10  
    7373// Examples:
    7474//---
    75 elevation_manager.elevation_source1.connection_string: /data/elevation/srtm/1arc
     75elevation_manager.elevation_source1.connection_string: $(OSSIM_DATA)/elevation/srtm/1arc
    7676elevation_manager.elevation_source1.type: srtm_directory
    7777elevation_manager.elevation_source1.min_open_cells: 25
     
    8080elevation_manager.elevation_source1.geoid.type: geoid1996
    8181
    82 elevation_manager.elevation_source2.connection_string: /data/elevation/dted/level2
     82elevation_manager.elevation_source2.connection_string: $(OSSIM_DATA)/elevation/dted/level2
    8383elevation_manager.elevation_source2.type: dted_directory
    8484elevation_manager.elevation_source2.min_open_cells: 25
     
    8787elevation_manager.elevation_source2.geoid.type: geoid1996
    8888
    89 
    90 elevation_manager.elevation_source3.connection_string: /data/elevation/srtm/3arc
     89elevation_manager.elevation_source3.connection_string: $(OSSIM_DATA)/elevation/srtm/3arc
    9190elevation_manager.elevation_source3.type: srtm_directory
    9291elevation_manager.elevation_source2.min_open_cells: 25
     
    9594elevation_manager.elevation_source2.geoid.type: geoid1996
    9695
    97 
    98 elevation_manager.elevation_source4.connection_string: /data/elevation/dted/level1
     96elevation_manager.elevation_source4.connection_string: $(OSSIM_DATA)/elevation/dted/level1
    9997elevation_manager.elevation_source4.type: dted_directory
    10098elevation_manager.elevation_source4.min_open_cells: 25
     
    103101elevation_manager.elevation_source4.geoid.type: geoid1996
    104102
    105 elevation_manager.elevation_source5.connection_string: /data/elevation/general_raster_1arc
     103elevation_manager.elevation_source5.connection_string: $(OSSIM_DATA)/elevation/general_raster_1arc
    106104elevation_manager.elevation_source5.type: general_raster_directory
    107105elevation_manager.elevation_source5.min_open_cells: 25
     
    110108elevation_manager.elevation_source5.geoid.type: geoid1996
    111109
    112 // ---
    113 // Keyword:  default_elevation_path
    114 // Default path for the elevation manager popup "Add" to start at.
    115 default_elevation_path: /data/elevation/srtm/1arc
    116 // ---
    117 
    118 // ---
    119 // Keyword:  elevation.enabled
    120 // If disabled calls to the elevation manager getHeightAboveMSL and
    121 // getHeightAboveEllipsoid will return a null height.  (default=true)
    122 // Use: "true", "yes", "y" or "1" to enable,
    123 //      "false", "no", "n" or "0" to disable.
    124 elevation_manager..enabled:  true
    125 // ---
    126 
     110// Identity geoid is 0 everywhere, so MSL = Ellipsoid. Useful when DEM provides posts
     111// relative to ellipsoid instead of customary MSL. This is specific to each elev database:
     112//elevation_manager.elevation_source3.geoid.type: identity
     113
     114// Default height above ellipsoid, for use when no elev data is present, instead of returning NAN:
     115//elevation_manager.default_height_above_ellipsoid: 0.0
     116
     117// this is n elevation offset that is added to the height returned from the elevation manager.
     118// if the value is nan then nothing is added.
     119//
     120//elevation_manager.elevation_offset: nan
     121
     122// Allows one to specify to the elevation manager to use the ellipsoid offset as defined by the geoid manager if a getHeightAboveEllipsoid fails
     123//
     124elevation_manager.use_geoid_if_null: true
     125
     126default_elevation_path: $(OSSIM_DATA)/elevation/srtm/1arc
     127
     128autoload_dted_elevation:  true
     129elevation.enabled:  true
     130elevation.auto_sort.enabled:  true
     131elevation.auto_load_dted.enabled:  true
     132
     133statusLatLon: true
     134statusHeight: true
     135statusDatum: true
     136statusGSD: true
     137statusUpdateOnClick: true
     138
     139// ---
     140// Geoid support:
     141// Note:  Since the sensor models do earth intersects at height above the
     142//        ellipsoid and the vertical datum of DTED is geoid_egm_96_grid, you
     143//        should have a geoid grid in place for accurate earth intersections.
     144// ---
     145
     146// ---
     147// GEOID 99:  Set keyword to the directory containing the GEOID 99 grids.
     148//
     149// Notes: 
     150// - Grids must be in the native byte order.
     151// - Can be downloaded from:
     152// http://www.ngs.noaa.gov/GEOID/GEOID99
     153// ---
     154geoid_99_directory:  $(OSSIM_DATA)/elevation/geoid99_little_endian
     155
     156// ---
     157// GEOID EGM 96:  Set keyword to the path to the egm96.grd
     158//
     159// Notes:
     160// - Grid must be in BIG ENDIAN (UNIX) format.
     161// - Can be downloaded from:
     162// http://earth-info.nima.mil/GandG/wgs84/gravitymod/egm96/ww15mgh.grd.z
     163// ---
     164geoid_egm_96_grid: $(OSSIM_DATA)/elevation/geoid1996/egm96.grd
    127165// ---
    128166
     
    137175// Reference Networks (HARNs) throughout the country.
    138176// ---
    139 // datum_grids: /data/ossim/elevation/nadcon-grids
     177datum_grids: $(OSSIM_DATA)/elevation/nadcon
    140178
    141179// ---
     
    148186epsg_database_file4: $(OSSIM_DEV_HOME)/ossim/share/ossim/ossim_wkt_pcs.csv
    149187epsg_database_file5: $(OSSIM_DEV_HOME)/ossim/share/ossim/ossim_harn_state_plane_esri.csv
    150 
    151188
    152189// ---