308-0000.jpg

Getting Started with VNS 3: GIS Basics
Part 8A. Importing Shapefiles with Attributes

1. Go to the Tutorials\GIS project folder and open GISBasics. Save it as GISBasics8 to avoid overwriting the original file.

308a-0010.jpg

2. Render a Main preview.

308a-0020.jpg

3. The global Environment is composed of the two Ecosystems we've been working with: Grassland and Pine Burn. The Rules-of-Nature work well for rendering convincing landscapes, but reproducing actual land cover usually requires real-world data. We're going to use vector data in the form of a shapefile to drive Pine Burn Ecosystem placement.

4. Shapefiles have the advantage of storing database information associated with vectors. Search Queries and Thematic Maps can save production time, and can dynamically update when vectors change.

5. Open the Database Editor to see the 12 DEMs we have so far.

308a-0050.jpg

6. Launch the Import Wizard. Go to the VNS 3 DVD database folder and select the PINE BURN.shp file. The Wizard will correctly identify the file as an Arc Shapefile. Continue to the Next window.

308a-0060.jpg

7. The LOAD AS window will load the shapefile as Vector objects enabled for rendering. Go to the Next window.

308a-0070.jpg

8. OUTPUT FILE TYPE AND NAME gives us the option to ReImport when Project Loads. This is for when you expect the input data to change and want it automatically updated when the project is opened. We don't, so continue to the Next window.

308a-0080.jpg

9. The COORDINATE SYSTEM SUMMARY will show a Custom Coordinate System using the Geographic NAD 27 projection method and system. Go to the Next window.

308a-0090.jpg

10. The Attributes section of the SHAPE OPTIONS page lists all the attributes VNS found in the shapefile. We're going to Assign DB Names from an Attribute Field and Load Attributes, so make sure they're checked. VNS will Add File Layer for our convenience. Import the data.

308a-0100.jpg

11. We're going to stick with the Coordinate System we have, so decline the offer to change it.

308a-0110.jpg

12. The first Database Fields window is looking for attributes to load. Always double-check what VNS is asking for. The request windows will depend on your choices in the last Import Wizard SHAPE OPTIONS window. We want all attributes so Select All.

308a-0120.jpg

13. The next Database Fields window wants a name field to assign to each shapefile object. A unique identifier is best, so let's use the VectName.

308a-0130.jpg

14. After the data is imported, the realtime Plan view will refresh with the vectors. The Database Editor will show 9 new objects. Save the project.

308a-0140.jpg . . . 308a-0141.jpg

15. Go to the Database Editor and turn to the Attribute page. Here we see the subdominant and dominant foliage density values and the ecosystem type.

308a-0150.jpg

16. The Layer page shows that PB01 is a member of two Layers, including PINE BURN. If you can't read the entire column header, click it. This gives you access to Layer operations, too.

308a-0160.jpg

17. Switch the Main view back to realtime mode. The vectors aren't visible, so let's find out why. Back in the Database Editor, Edit Database Object EditDatabaseObject.gifto open the PB01 Vector Editor. Go to the Selected Points page and you'll see that the Elevation is 0 meters. That means the vectors are underground in the Main view. By design, planimetric views see vectors regardless of their elevation. Close the editor.

308a-0170.jpg

18. Go back to the Database Editor. Select the PINE BURN Layer to select all member objects.

308a-0180.jpg

19. The Database Editor will show 9 of 21 objects selected.

308a-0190.jpg

20. Conform Conform.gifto Terrain.

308a-0200.jpg

21. Confirm the operation. VNS will verify that all 9 vectors have been conformed to the terrain. The Main view will refresh and show the vectors, now that they're at ground level. Save the project.

308a-0210.jpg . . . 308a-0211.jpg

308a-0212.jpg

navnext.gif

Warning: file_put_contents(/extra/home/webdude/3dnature.com/files/cache/pages/5/a/d/5ade200f54ed8b3b85c4ed99c9ebeb1522db7287d1057ee0f31ef58bd937e5c3.cache): failed to open stream: No such file or directory in /extra/home/webdude/3dnature.com/updates/concrete5.6.3.4/concrete/core/libraries/page_cache/types/file.php on line 62