Raster Options: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(Created page with 'The raster options are accessed by clicking on the Raster Options item or tab in the Display Options dialog. The default options vary between applications, and the options may b…')
 
No edit summary
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The raster options are accessed by clicking on the Raster Options item or tab in the Display Options dialog.  The default options vary between applications, and the options may be changed, saved, and restored within the project.
XMS software provides a number of options for importing and displaying raster data.


[[Image:RasterDialog.png|400px|Raster dialog.]]
== Importing Rasters ==
Import a raster file by selecting '''Open''' in the ''File'' menu.  Select the proper raster file as shown in the following table.  Select '''Open'''.  At the popup ''Load it as...'', select DEM.
{| class="wikitable"
!Format!!File to Open!!Source!!Importance!!Level of Support
|-
| ArcInfo Binary Grid||w001001.adf||ESRI||1||Supported in GMS and in SMS
|-
|ArcInfo Ascii Grid||*.asc||ESRI||2||Supported in GMS and in SMS
|-
|USGS DEM Grid Float||*.flt||http://seamless.usgs.gov||2||Supported in GMS and in SMS
|-
|USGS NED Grid Float||*.flt||http://seamless.usgs.gov||2||Supported in GMS and in SMS
|-
|Canadian DEM||*.dem||http://www.geobase.ca||3||Supported in GMS and supported in SMS
|-
|DTED||*.dt0||ERDC||3||Supported in GMS and supported in SMS
|-
|Aster DEM||*.tif||https://asterweb.jpl.nasa.gov/gdem.asp||4||Supported in GMS and supported in SMS as images
|-
|SDTS||*.ddf||http://data.geocomm.com/dem/demdownload.html||5||Supported in GMS and supported in SMS
|-
|}
'''
 
===How to export TINs in ADF format from ArcGIS in a format that XMS will read===
#Load the TIN into ArcMap
#Expand the ''3D Analyst Tools | Conversion Tools'' | '''From TIN''' toolset in ArcToolbox
#Double-click the '''TIN to Raster''' tool in ArcToolbox (specify your current TIN file in the ''Input TIN'' field). Make a note of the path in the ''Output Raster'' field.
#Expand the ''Conversion Tools'' | '''From Raster''' toolset in ArcToolbox
#Double-click the '''Raster to ASCII''' tool in ArcToolbox (specify the raster file that you created in the previous step as the input raster, and make a note of the path for the output file)
#Open Windows Explorer (My Computer) and browse to the location of the ASCII *.txt file output in step 5
#Make a copy of the *.txt file created in step 5
#Change the extension of the *.txt file to *.dem
#Open the *.dem file in WMS
 
{{Raster Display Options}}
<!--old
== Displaying Rasters ==
 
The raster display options are accessed by clicking on the ''Raster Options'' item or tab in the ''Display Options'' dialog.  The default options vary between applications, and the options may be changed, saved, and restored within the project.
 
[[Image:RasterDialog.png|thumb|none|left|400 px|The ''Raster'' tab of the ''Display Options'' dialog.]]


The following table describes the raster display options.
The following table describes the raster display options.
Line 7: Line 48:
! width="125" | Display Option !! Description
! width="125" | Display Option !! Description
|-
|-
| Image Display || Select the "Display as raster" radio button to display the raster as a flat image rather than as a surface with elevation changes.  Contour options are applied to form the image with block color fill.
| Image Display || Select the ''Display as raster'' radio button to display the raster as a flat image rather than as a surface with elevation changes.  Contour options are applied to form the image with block color fill.
|-
|-
| Image Elevation || The raster image is drawn at an elevation of 0.0 by default.  Change the "Elevation:" value to draw it at a different elevation.
| Image Elevation || The raster image is drawn at an elevation of 0.0 by default.  Change the ''Elevation:'' value to draw it at a different elevation.
|-
|-
| Surface Display || Select the "Display as surface" radio button to display the raster as a height varying surface rather than as a flat image.  Enable either Contours, Edges, or Boundary to see that type of surface or nothing will be shown.
| Surface Display || Select the ''Display as surface'' radio button to display the raster as a height varying surface rather than as a flat image.  Enable either Contours, Edges, or Boundary to see that type of surface or nothing will be shown.
|-
|-
| Surface Contour || Select the "Contours" check box to apply contour options to the surface with contour lines and/or smooth color fill.
| Surface Contour || Select the ''Contours'' check box to apply contour options to the surface with contour lines and/or smooth color fill.
|-
|-
| Surface Edges || Select the "Edges" check box to display the polygonal edges between height samples in the surface.  The control to the left sets line color and either enables line dashes or species line width for the edges.  This is typically the slowest surface to render.
| Surface Edges || Select the ''Edges'' check box to display the polygonal edges between height samples in the surface.  The control to the left sets line color and either enables line dashes or species line width for the edges.  This is typically the slowest surface to render.
|-
|-
| Surface Boundary || Select the "Boundary" check box to display only those polygonal edges between height samples on the perimeter of the surface.  The control to the left sets line color and either enables line dashes or species line width for the boundary.  This is typically the fastest surface to render.
| Surface Boundary || Select the ''Boundary'' check box to display only those polygonal edges between height samples on the perimeter of the surface.  The control to the left sets line color and either enables line dashes or species line width for the boundary.  This is typically the fastest surface to render.
|-
|-
|}
|}
-->
[[Main Page|Back to XMS]]
{{Navbox GMS}}
{{Navbox SMS}}
[[Category:External Links]]
[[Category:General Information|R]]
[[Category:Raster|Options]]
[[Category:SMS GIS]]
[[Category:SMS Raster Dialogs]]
[[Category:SMS Display Dialogs]]
[[Category:Needs Update]]

Latest revision as of 20:18, 24 May 2022

XMS software provides a number of options for importing and displaying raster data.

Importing Rasters

Import a raster file by selecting Open in the File menu. Select the proper raster file as shown in the following table. Select Open. At the popup Load it as..., select DEM.

Format File to Open Source Importance Level of Support
ArcInfo Binary Grid w001001.adf ESRI 1 Supported in GMS and in SMS
ArcInfo Ascii Grid *.asc ESRI 2 Supported in GMS and in SMS
USGS DEM Grid Float *.flt http://seamless.usgs.gov 2 Supported in GMS and in SMS
USGS NED Grid Float *.flt http://seamless.usgs.gov 2 Supported in GMS and in SMS
Canadian DEM *.dem http://www.geobase.ca 3 Supported in GMS and supported in SMS
DTED *.dt0 ERDC 3 Supported in GMS and supported in SMS
Aster DEM *.tif https://asterweb.jpl.nasa.gov/gdem.asp 4 Supported in GMS and supported in SMS as images
SDTS *.ddf http://data.geocomm.com/dem/demdownload.html 5 Supported in GMS and supported in SMS

How to export TINs in ADF format from ArcGIS in a format that XMS will read

  1. Load the TIN into ArcMap
  2. Expand the 3D Analyst Tools | Conversion Tools | From TIN toolset in ArcToolbox
  3. Double-click the TIN to Raster tool in ArcToolbox (specify your current TIN file in the Input TIN field). Make a note of the path in the Output Raster field.
  4. Expand the Conversion Tools | From Raster toolset in ArcToolbox
  5. Double-click the Raster to ASCII tool in ArcToolbox (specify the raster file that you created in the previous step as the input raster, and make a note of the path for the output file)
  6. Open Windows Explorer (My Computer) and browse to the location of the ASCII *.txt file output in step 5
  7. Make a copy of the *.txt file created in step 5
  8. Change the extension of the *.txt file to *.dem
  9. Open the *.dem file in WMS

Raster Display Options

Example of the Raster Display Options dialog

The Raster Display Options dialog is used to change the way rasters are displayed. This dialog is accessed by right-clicking on a raster file in the Project Explorer and selecting the Display Options command.

DEMs are imported and displayed as either 2D images or as a 3D point cloud.

The Raster Display Options dialog has the following options:

  • Set Default Contour Options – This button will open a Contour Options dialog that will set contour options for all raster files in the project. Clicking the Color Ramp button in the Contour Options dialog will open the Color dialog. When accessing the Color dialog through this process, the differnet shader options are available.
  • Reset Default Contour Options – Clicking this will restore the contour options to the default options/factory condition.
  • Display as 2D Image – If displaying as a 2D image, the raster is only visible in plan view (like other images). This option is fast and memory efficient and can support large rasters (or several rasters). Hill shading, which enables shadows and thus makes the image appear 3D, is available in this mode.
  • Display as 3D Points – If displaying as 3D points, the raster is visible in any view, not just plan view. 3D points are also very memory efficient but may be a little slower than the 2D image option. Also, hill shading is not available in this mode. The point size and the maximum number of points to display can be specified. Specifying a maximum number of points can be useful if the size of the raster is such that rendering becomes slow.
  • Selected Rasters – This list will show all rasters that have been imported into the project.
    • Contour Options – This button will open a Contour Options dialog that will set contour options for the selected raster files in the project. Clicking the Color Ramp button in the Contour Options dialog will open the Color dialog. When accessing the Color dialog through this process, the differnet shader options are available.

Shaders

With either 2D or 3D, four different shaders, which control the color ramp, are available. A color legend can be displayed to relate colors with values. To view shading, use the Lighting display options.


Back to XMS