Slide 2 - Build Yakima-W 1/4 Geocell

Introduction

In this exercise you'll learn how to build the preview mesh for Yakima-W quarter geocell.

Preparation Work

This series of instructions contains preparation work.

  1. Start Scenome.
  2. Open \EXERCISES\YAKIMA_W_MASTER.BOX.
  3. Select Edit » Database Properties from the main menu.
    Scenome is essentially "unitless" which means the unit labels are adjustable. If you want to work in US Feet, simply select US Feet from the list of Unit Labels. If you wish to work in meters, select Metric Meters from the list of Unit Labels.
  4. Currently the software is set to work in Metric Meters.
  5. This is correct.

Create Working Groups

This series of instructions contains preparation work.

  1. Examine the hierarchy.
  2. Right click over the group node named Scene and select Create » Group from the listed options.
  3. Set the name of the new group to Programs*
  4. Right click over the group node named Scene and select Create » Group from the listed options.
  5. Set the name of the new group to Previews*
  6. Hold down ALT and right click over the group named Previews*.
  7. The name turns bold, indicating this is the active group. This is a picture of the hierarchy.
    This is an excellent configuration for building terrain. The Programs* group stores major design events and the Previews* stores preview meshes. Since asterisks [*] are used in the program and preview group names these groups won't be exported.
  8. It's time to process imagery.

Create Embedded Programs

This series of instructions teaches you how to create program nodes.

  1. Examine the hierarchy.
  2. Right click over the group node named Programs* and select Wizards » Program.ExtractMrSidImagery from the listed options.
  3. Repeat. Right click over the group node named Programs* and select Wizards » Program.ExtractMrSidImagery from the listed options.
  4. Expand the programs group until you can see the program nodes.
  5. Rename the first program node Program: ExtractImagery.MrSid.LewisCounty
  6. Rename the second program node Program: ExtractImagery.MrSid.PierceCounty This is a picture of the hierarchy.
    You can name the program nodes whatever you want; it won't affect their functionality.

Configure Program: ExtractImagery.MrSid.LewisCounty

This series of instructions teaches you how to configure the embedded program node. You can copy and paste most of the parameter values from this web page into the property editor. Please make sure that you adjust any paths as necessary

  1. Double click the first program node.
  2. This displays its parameters in the property editor. This is a picture of program node parameters.
  3. Please pay close attention to the following parameter values.
  4. Set Output File Path to Example: C:\SCENOMICS\EXERCISES\YAKIMA-W\IMAGE_PROCESSING\. Use the full path to your imagery. Do not forget the final backslash!
  5. Set Batch File Name to SUBDIVIDE_LEWIS.BAT.
  6. Set SID Application Name to MRSIDGEODECODE_WIN.EXE.
  7. Set Input SID File to LEWIS_COUNTY_WASHINGTON_STATE.SID.
  8. Set High Output Prefix to high.
  9. Set Low Output Prefix to low.
  10. Set Output File Identifier to lewis_county.
  11. Set Width Of SID File to 163342.
  12. Set Height Of SID File to 50527.
  13. Set Start Upper Left X to 90000.
  14. Set Start Upper Left Y to 0.
  15. Set Output Rows to 50.
  16. Set Output Columns to 60.
  17. Set GDAL Application Name to GDAL_TRANSLATE.EXE.
  18. Set GDAL Tile Width to 128.
  19. Set GDAL Tile Height to 128.
  20. When you are ready to proceed, right click the program node and select Execute This Program from the listed options.
  21. Scenome creates the batch file and then executes it from the command line. This is a picture of the command line.
    This takes between 60-180 minutes depending on the speed of your machine. At no time will this consume a lot of memory; but it does consume a lot of processor cycles.
  22. This is the extract region. This SID file is 150000×60000 pixels; obviously not suitable for real-time display. This is a picture of Lewis County.

Configure Program: ExtractImagery.MrSid.PierceCounty

This series of instructions teaches you how to configure the embedded program node. You can copy and paste most of the parameter values from this web page into the property editor. Please make sure that you adjust any paths as necessary

  1. Double click the second program node.
  2. This displays its parameters in the property editor.
  3. Please pay close attention to the following parameter values.
  4. Set Output File Path to Example: C:\SCENOMICS\EXERCISES\YAKIMA-W\IMAGE_PROCESSING\. Use the full path to your imagery. Do not forget the final backslash!
  5. Set Batch File Name to SUBDIVIDE_PIERCE.BAT.
  6. Set SID Application Name to MRSIDGEODECODE_WIN.EXE.
  7. Set Input SID File to PIERCE_COUNTY_WASHINGTON_STATE.SID.
  8. Set High Output Prefix to high.
  9. Set Low Output Prefix to low.
  10. Set Output File Identifier to pierce_county.
  11. Set Width Of SID File to 119545.
  12. Set Height Of SID File to 83777.
  13. Set Start Upper Left X to 64000.
  14. Set Start Upper Left Y to 44000.
  15. Set Output Rows to 30.
  16. Set Output Columns to 50.
  17. Set GDAL Application Name to GDAL_TRANSLATE.EXE.
  18. Set GDAL Tile Width to 128.
  19. Set GDAL Tile Height to 128.
  20. When you are ready to proceed, right click the program node and select Execute This Program from the listed options.
  21. Scenome creates the batch file and then executes it from the command line. This is a picture of the command line.
    This takes between 60-90 minutes depending on the speed of your machine. At no time will this consume a lot of memory; but it does consume a lot of processor cycles.
  22. This is the extract region. Notice the black areas that are not in Pierce county. This highlights a common problem with commercial imagery - incomplete coverage in a single file. This isn't really a problem because Scenome allows you to select an area-of-interest in the SID file and generate tiles from that specific area. This SID file is 119000×83000 pixels; obviously not suitable for real-time display. This is a picture of Pierce County.

Preparation Work

This series of instructions contains preparation work.

  1. Open the \EXERCISES\YAKIMA-W\LOW_RESOLUTION_PROCESSED_IMAGERY folder.
  2. You should see a list of 4500 GEOTIFF files using 12.5 GB of disk space.
  3. Go up one directory.
  4. Now the \EXERCISES\YAKIMA-W\HIGH_RESOLUTION_PROCESSED_IMAGERY folder.
  5. You should see a list of 4500 GEOTIFF files using 213 MB of disk space.
  6. File name construction is as follows:
    high_lewis_county_1_1x9.tif = [ resolution indicator ] + [ place name ] + [ number in series ] + [ row address ] + [ column address ]

Generate Image Maps

This series of instructions teaches you how to generate metadata that Scenome uses to optimize the texture generation process.

  1. Select Modify » Execute Metadata Generation from the main menu.
  2. This displays command properties in the propery editor. This is a picture of the property editor.
  3. Set the Directory parameter to the full path to the directory containing the high resolution GEOTIFF images installed on your computer.
    Example Path: C:\Scenomics\Terrain\Yakima-W\high_resolution_processed_imagery.
  4. Left click the word Give Scenome A Hard Time! on the bottom right side of the property sheet.
  5. The Give Scenome A Hard Time! button appears. Click this button.
    NOTE: You can run this command over and over and it will always give Scenome a hard time.
  6. Scenome generates metadata for all the GEOTIFF files.
  7. This should take a few minutes, but you can watch the lower right corner of the status bar to see when Scenome is done.
  8. Repeat this procedure for the images in \LOW_RESOLUTION_PROCESSED_IMAGERY