RMA: Importing Data

  • Scroll to top of this topic Scroll to Top of Page

  • Print the current topic Print Topic

  • No expanding elements on this page Show/Hide Expanders

The next step is to import the image of the Rocky Mountain Arsenal area. Select File|Import|Image... and the Import Image dialog box will appear. Click the Select Image button and select the file "rmamap.emf" (in the "My Documents\ModelMuse Examples\data\RMA" folder). The user will be prompted to click on the image and enter the real-world coordinates of the points that was clicked. Entering the coordinates allows the image to be georeferenced so it can be displayed at the correct location. The coordinates to be entered are in the table below. Instead of clicking on the image, however, there is an easier way to transfer the coordinates. Use the mouse to select the data in the table below and copy it to the clipboard (Ctrl-C). Then paste (Ctrl-V) it into Microsoft Excel. Then select the data in Excel and copy the data to the clipboard again and paste (Ctrl-V) it into the top left hand cell (column = Pixel X; row = 1) of the table in the Import Image dialog box. Then click the OK button.

Pixel X

Pixel Y

X

Y

1

0

1690

9000

418

575

6300

2640

The image will appear in the top view of the model. Click on the Zoom button Zoom button and click and drag a rectangle around the image. When the mouse button is released, ModelMuse will zoom in on the selected area. Try experimenting with the Pan button Pan button. Click the Pan button and then move the mouse over the top view of the model. Push down the mouse button and hold it down. Move the mouse and then release the mouse button. The view of the model should be dragged to a new location when this is done. Try experimenting with the Zoom In Zoom In button and Zoom Out Zoom Out button buttons too. When one of those buttons is clicked, clicking on the model will zoom in or out by a factor of two at the location that was clicked. See the View menu for more details.

It is possible to draw objects to define the rest of the model. However, it is easier to import them if they have already been defined elsewhere. In this case, there is a Shapefile that contains the objects needed to define much of the model. The next step is to import the Shapefile.

Select File|Import|Shapefile... Select rma.SHP. (in the "My Documents\ModelMuse Examples\data\RMA" folder.) Check the Set values of intersected cells check box and import  the shapes as separate objects (fig. 98). The attributes associated with the shapes aren't useful so there is no need to check the check box under "Import" in the table on the Data tab. Instead, just the geometry of the shapes will be imported. Click the OK button.

See caption

Figure 98. Import Shapefile dialog box showing settings.

 

The shapes may not be visible at first because they are at the hidden by the image. To hide the image, select Edit|Show or Hide Image

The model will now appear similar to figure 99. Show the image again by selecting Edit|Show or Hide Image again.

See caption

Figure 99. Model after importing Shapefile with data.