Mapping Toolbox    
demdataui

Digital elevation map data user interface

Activation

demdataui

Description

demdataui is a Graphical User Interface to extract Digital Elevation Map data from a number of external data files.

The demdataui panel lets you read data from a variety of high-resolution Digital Elevation Maps (DEMs). These DEMs range in resolution from about 10 kilometers to 100 meters or less. The data files are available over the internet at no cost, or (in some cases) on CD-ROMs for varying fees. demdataui reads ETOPO5, TerrainBase, GTOPO30, GLOBE, satellite bathymetry and DTED data. See the links under "See also" for more information on these datasets. demdataui looks for these external data files on the Matlab path and, for some operating systems, on CD-ROM disks.

You use the list to select the source of data and the map to select the region of interest. When you click the Get button, data is extracted and displayed on the map. Use the Save button to save the data in a MAT-file or to the base workspace for later display. The Close button closes the window.

Controls

The Map

The map controls the geographic extent of the data to be extracted. demdataui extracts data for areas currently visible on the map. Use the mouse to zoom in or out to the area of interest. See zoom for more on zooming.

Some data sources divide the world up into tiles. When extracting, data is concatenated across all visible tiles. The map shows the tiles in light yellow with light gray edges. When data resolution is high, extracting data for large area may take much time and memory.An approximate count of the number of points is shown above the map. Use the Samplefactor slider to reduce the amount of data.

The List

The list controls the source of data to be extracted. Click on a name to see the geographic coverage in light yellow. The sources list shows which data sources were found when demdataui started.

demdataui searches for data files on the Matlab path. On some computers, demdataui will also check for data files on the root level of letter drives. demdataui looks for the following data: etopo5: new_etopo5.bil or etopo5.northern.bat and etopo5.southern.bat files. tbase: tbase.bin file. satbath: topo_6.2.img file. gtopo30: a directory that contains subdirectories with the datafiles. For example, demdataui would detect gtopo30 data if a directory on the path contained the directories E060S10 and E100S10, each of which holds the uncompressed data files. globedem: a directory that contains data files and in the subdirectory "/esri/hdr" the "*.hdr" header files. dted: a directory that has a subdirectory named DTED. The contents of the DTED directory are more subdirectories organized by longitude and, below that, the DTED data files for each latitude tile. See the help for functions with the data source names for more on the data attributes and internet locations.

The Samplefactor Slider

The Sample Factor slider allows you to reduce the density of the data. A sample factor of 2 returns every second point. The current sample factor is shown on the slider.

The Get Button

The Get button reads the currently selected data and displays it on the map. Press the standard interrupt key combination for your platform to interrupt the process.

The Clear Button

The Clear button removes any previously read data from the map.

The Save Button

The Save button saves the currently displayed data to a Mat-file or the base workspace. If you choose to save to a file, you will be prompted for a file name and location. If you choose to save to the base workspace, you you can choose the variable name under which the data will be stored. The results are stored as a geographic data structure. Use load and displaym to redisplay the data from a file on a map axes. To display the data in the base workspace, use displaym. To gain access to the data matrices, subscript into the structure (e.g. map = demdata(1).map; maplegend = demdata(1).maplegend). Use worldmap to create easy displays of the elevation data (e.g. worldmap(map,maplegend,'ldem3d')). Use meshm to add regular matrix maps to existing displays, or surfm or a similar function for general matrix maps (e.g. meshm(map,maplegend) or surfm(latgrat,longrat,map)).

The Close Button

The Close button closes the demdataui panel.

See Also
etopo5   tbase   gtopo30   globedem   dted   satbath   vmap0ui


  dcwrhead dted