// ------------------------------------------------------------------------ // $Id$ // // Description: ossim_preferences_template // // This file will be automatically loaded by ossim applications provided the // environment variable "OSSIM_PREFS_FILE" is set to point to some form of // this file. // // Note: c++ comments "//" can be used to comment a line. // // To set the environment variable for automatic preference file loading: // // This assumes a preference file in your home called "ossim_preferences". // Typically this would be put in a dot file read at startup of a shell. // // tcsh and csh users: setenv OSSIM_PREFS_FILE ~/ossim_preferences // // bash and sh users: export OSSIM_PREFS_FILE=~/ossim_preferences // // windoze users: I'll have to look this up... // // You can also use the "-P " option at application startup. // where is full path and filename. // // ------------------------------------------------------------------------ // --- // Keyword pair: // elevation_source.type // elevation_source.filename // // Indicates an elevation source. These should be listed in pairs. Numbering // should start with 1 with lowest number being the highest resolution. This // can be a cell(file) or a directory. // // There are four elevation_source.type types: // elevation_source.type: dted_cell // elevation_source.type: srtm_cell // elevation_source.type: dted_directory // elevation_source.type: srtm_directory // elevation_source.type: general_raster_directory // // The elevation_source.filename keyword should point to a cell or a directory. // // NOTES: // The elevation_source keyword replaces the deprecated keywords: // dted_directory // srtm_directory // dted_cell // // Examples: //--- elevation_source1.filename: /images/elevation/srtm/1arc elevation_source1.type: srtm_directory elevation_source2.filename: /images/elevation/dted/3arc elevation_source2.type: dted_directory elevation_source3.filename: /images/elevation/dted/1arc/w090/n40.dt1 elevation_source3.type: dted_cell elevation_source4.filename: /images/elevation/srtm/1arc/N40W092.hgt elevation_source4.type: srtm_cell elevation_source4.filename: /images/elevation/srtm/half_arc_raster elevation_source4.type: general_raster_directory // --- // DEPRECATED - Please use "elevation_source" keyword pair. // // Keyword: dted_directory // Path to Digital Terrain Elevation Data (DTED) elevation cells. // Can have more than one diretory. // // NOTES: // 1) Put your highest resolution first, 1rc, then 3arc and so on. // 2) DTED factories are in front of srtm factories. dted_directory1: /data/elevation/dted/1arc dted_directory2: /data/elevation/dted/3arc // --- // --- // DEPRECATED - Please use "elevation_source" keyword pair. // // Keyword: srtm_directory // Path to Shuttle Radar Topography Mission (SRTM) elevation cells. // Can have more than one diretory. // // NOTES: // 1) Put your highest resolution first, 1rc, then 3arc and so on. // 2) DTED factories are in front of srtm factories. // srtm_directory1: /data/elevation/srtm/1arc srtm_directory2: /data/elevation/srtm/3arc // --- // --- // DEPRECATED - Please use "elevation_source" keyword pair. // // Keyword: dted_cell // Path to a DTED elevation cell. // Note: Cells are autoloaded if "dted_directory" keyword is set. // dted_cell1: /data/ele1/DTED3arc/w122/n38.dt1 // dted_cell2: /data/ele2/ned/w122/n38.dt1 // dted_cell3: /data/ele1/DTED3arc/w122/n37.dt1 // dted_cell4: /data/ele2/ned/w122/n37.dt1 // dted_cell5: /data/ele2/ned/w123/n37.dt1 // --- // --- // Keyword: default_elevation_path // Default path for the elevation manager popup "Add" to start at. default_elevation_path: /images/elevation/srtm/1arc // --- // --- // Keyword: elevation.enabled // If disabled calls to the elevation manager getHeightAboveMSL and // getHeightAboveEllipsoid will return a null height. (default=true) // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.enabled: true // --- // --- // Keyword: elevation.auto_load_dted.enabled // Enable autoloading of dted elevation as need from above directories. // (default=true) // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.auto_load_dted.enabled: true // --- // --- // Keyword: elevation.auto_sort.enabled // Enable sorting of elevation cells on an add by the lowest(best) mean post // spacing. (default=true) // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.auto_sort.enabled: true // --- // --- // Keyword: elevation.compute_statistics.enabled // // Enable computations of min and max height of each elevation cell. This // will force a write of a statistics file if one does not exists. If disabled // and the statistics file is not present the min and max value will be // undefined. Typically if you are doing mosaics of elevation you would want // this on. If you don't want a pause computing stats like in a 3d viewer // you would want this off. (default=true) // // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.compute_statistics.enabled: true // --- // --- // Location of datum grids: // // Snip from: http://www.ngs.noaa.gov/TOOLS/Nadcon/Nadcon.html // // Advances in the accuracies now obtainable in geodetic surveys, specifically // through use of differential GPS, has allowed for the creation of state // High Precision Geodetic Networks (HPGNs), also referred to as High Accuracy // Reference Networks (HARNs) throughout the country. // --- // datum_grids: /data/ossim/elevation/nadcon-grids // --- // For state plane projection factory. Note do not add harn if you do not // have the harn datum grids. // --- state_plane_csv_file1: /usr/local/share/ossim/state_plane.csv state_plane_csv_file2: /usr/local/share/ossim/harn_state_plane_epsg.csv // --- // deprecated for new geoid_ngs_directory keyword // // Geoid support: // Note: Since the sensor models do earth intersects at height above the // ellipsoid and the vertical datum of DTED is geoid_egm_96_grid, you // should have a geoid grid in place for accurate earth intersections. // --- // --- // GEOID 99: Set keyword to the directory containing the GEOID 99 grids. // // Notes: // - Grids must be in the native byte order. // - Can be downloaded from: // http://www.ngs.noaa.gov/GEOID/GEOID99 // --- // geoid_99_directory: /data/ele1/geoid/geoid99 // current release only allows for a single directory // we will allow for multiple directories later and auto detecting // if possible. // // currently the file names are hard coded and need to be from the NGS distribution // also downloadable from ftp.remotesensing.org under/ossim/test_data.tgz // geoid_ngs_directory: /data/ear1/geoid/geoid99 geoid_ngs_directory.byte_order: big_endian // -- // --- // Generic support has been added to each NGS geoid grid. You can download // ngs grids for 1999, 2003, ... and should should work. // byte order can be big_endian or little_endian //geoid_ngs_directory1: /data/ear1/geoidngs99 //geoid_ngs_directory1.byte_order: little_endian // --- // GEOID EGM 96: Set keyword to the path to the egm96.grd // // Notes: // - Grid must be in BIG ENDIAN (UNIX) format. // - Can be downloaded from: // http://earth-info.nima.mil/GandG/wgs84/gravitymod/egm96/ww15mgh.grd.z // --- geoid_egm_96_grid: /data/ele1/geoid/geoid96/egm96.grd // --- // Font support: // NOTE: To use the MapCompositionSource you must at least have "font.dir1" // set to some default. // --- // font.file1: /usr/share/fonts/default/Type1/b018032l.pfb // font.dir1: /usr/share/fonts/default/Type1 //--- // OSSIM plugin support: // // Notes: // // Embedded trace debug can be turned on using "ossimDynamic" // eg using icp application: // $ icp -T ossimDynamic // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimpng_plugin.so // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimgdal_plugin.so // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimreg_plugin.so // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimcontrib_plugin.so // // Keywords: // // plugin.dir1: < directory where plugins are > // // you can also list by individual file names // // plugin.file1: < full path and file name > //--- // Example, edit/uncomment as needed: // plugin.file1: /usr/local/lib/libossimpng_plugin.so // plugin.file2: /usr/local/lib/libossimgdal_plugin.so // plugin.file3: /usr/local/lib/libossimreg_plugin.so // plugin.file4: /usr/local/lib/libossimcontrib_plugin.so // // END OSSIM plugin support //--- // Toggles for recceVue application: statusLatLon: true statusHeight: true statusDatum: true statusGSD: true statusUpdateOnClick: true // The cache size is in megabytes cache_size: 256 // Tile size x y tile_size: 64 64 // --- // Keyword: shapefile_colors_auto // // Shape file colors set to automatic. // This is a boolean value. If true pen and brush color of shape files will // be determined by indexing a color table in a round robin approach. If set // to true the auto colors override keywords for "pen" and "brush" color. // Default value if not found if "false". // // Value can be: true, yes, y, 1, false, no, n or 0 // --- shapefile_colors_auto: false // --- // Shape file pen color: // Three values for red, green and blue between 0 and 1.0 with 1.0 being // brightness and 0.0 being black. // --- shapefile_normalized_rgb_pen_color: 0.004 1.0 0.004 // --- // Shape file pen color: // Three values for red, green and blue between 0 and 1.0 with 1.0 being // brightness and 0.0 being black. // --- shapefile_normalized_rgb_brush_color: 0.004 1.0 0.004 // --- // Shape file point size: // Width and height for points in pixels. // --- shapefile_point_size: 6.0 6.0 // -------------------------- // Some keywords for the OSSIM GUI application // // // igen spec files output./ This is the directory location you would // like the igen export GUI to default to when outputing spec files ossim.igen_spec_output_directory: /work/gpotts/igen_test // this is the igen executable. Make sure you put the full path ossim.igen_executable: /work/gpotts/ossim/bin/igen // END keywords for OSSIM GUI //-------------------------- //--------------------------------------- // osgPlanet Reference background setup // Image type // // ossimosgplanet.background.type: local // each image listed with file0 ... file // ossimosgplanet.background.file0: C:\Program Files\Common Files\ossim\images\earth.tif ossimosgplanet.background.transparent_color_flag:0 ossimosgplanet.background.transparent_color: 0 0 0 ossimosgplanet.background.opacity: 255 // END osgPlanet Reference Background //--------------------------------------------- // --- // Position Quality Evaluator (PQE) keywords. // Note Circulay Error(CE) and Linear Error (LE) units are in meters. // These keywords are for the imagelinker->image-window->PQE dialog box. // They allow the user to calculater position quality factoring in backdrop // and elevation uncertainty. // --- // Backdrop enter "name,ce90,le90" like "JOG-A,77,38". pqe_backdrop1: TLM50,31,25 pqe_backdrop2: TLM100,61,25 pqe_backdrop3: JOG-A,77,38 pqe_backdrop4: TPC,613,47 pqe_backdrop5: ONC,1226,93 pqe_backdrop6: JNC,2452,187 pqe_backdrop7: GNC,6129,465 // Elevation enter "name,ce90,le90" like "SRTM_1ARC,20,16" // Accuracies vary widely depending on terrain and how they were computed. // These are just examples. pqe_elev1: SRTM_3ARC,20,16 pqe_elev2: SRTM_1ARC,20,10 pqe_elev3: DTED_LEVEL2,40,20 pqe_elev4: DTED_LEVEL1,50,30 pqe_elev5: RPC_No_DEM_State,-2,-1.6449 // Special Case // RPC_No_DEM_State, Scale Divisor, 1-Sigma Divisor (minus signs required) pqe_normalized_rgb_ellipse_color: 0.004 1.0 0.004 // End of PQE keywords...