SketchUp Arc GIS Plugin Tutorial

Document Sample
SketchUp Arc GIS Plugin Tutorial Powered By Docstoc
					SketchUp Arc GIS Plugin Tutorial
          Last Updated: October 2005




         SketchUp ArcGIS Plugin Tutorial
                      -1-
Table of Contents

 I. Introduction                                      3

 II. Exporting ArcGIS Data for SketchUp               4

III. Using ArcGIS Data in SketchUp                    8

IV. Exporting SketchUp Models for                     9
    ArcGIS




                    SketchUp ArcGIS Plugin Tutorial
                                 -2-
I. Introduction
 The SketchUp Arc GIS plugin allows you to create 3D georeferenced data for
 use in ArcGIS.

 Workflow
 The workflow for this solution requires you to load data from your geodatabase,
 export features for use in SketchUp, model your buildings in SketchUp, and
 export the 3D content, as multipatch data, for your geodatabase.


      Note – This document refers to any ArcGIS application containing the
 SketchUp and ArcGIS Interoperability Plugin (ArcMap™, ArcScene™and
 ArcGlobe™) collectively as ArcGIS.




                           SketchUp ArcGIS Plugin Tutorial
                                        -3-
II. Exporting ArcGIS Data for SketchUp
 The first step in the workflow is to export ArcGIS data to SketchUp. You can
 export any of the following feature types from ArcGIS.

 ArcGIS Feature Type                          Resulting SketchUp Entities
 Polygons                                     Group containing edges, vertices, and
                                              faces
 Polylines                                    Group containing edges and vertices
 Points                                       A component definition of an ‘X’ of size
                                              specified by the user with instances
                                              centered at the point
 Multipatch                                   A component (one or many multipatch
                                              features can be selected and exported
                                              into the same SketchUp file)

 To export ArcGIS data from ArcGIS to SketchUp:

             1. Execute ArcGIS.

             2. Open an ArcGIS document containing the features that you want to
                export.

             3. Select the features (road, building outlines, property lines, and so
                on) to export using ArcGIS Select Features tool.

             4. Click on the Export sleected items to SketchUp 5 button. The
                Options dialog box is displayed.

             5. (optional) Configure the export options in the Options dialog box.

             6. Click on the OK button to export the ArcGIS data as a .SKP file for
                SketchUp.


 The Options Dialog Box
 The Options dialog box can contain up to three tabs depending on the data you
 export from ArcGIS: Feature Classes, Tins, and Rasters.

 Feature Classes
 The Feature Classes tab showing the names of the feature classes whose items
 you selected in ArcGIS. There are currently four types of feature classes that are
 supported: point, polyline, polygon and multipatch. The options for a type of
 feature class are displayed when you select the feature class’s name.




                              SketchUp ArcGIS Plugin Tutorial
                                           -4-
Point – The Options Dialog box will display two fields for point feature classes:
Point size (in inches) and Name group using. Set the point size (in inches) to the
size you want the “X” in SketchUp that is used to mark the point. Set the Name
group using drop-down list to the field in the feature class that you want to use as
a basis for the name of the features.




Polyline – The Options Dialog box will display two fields for polyline feature
classes: Elevate by field and Name group using. Set the Elevate by field to a field
in the drop-down list that contains the altitudes (Z value) to elevate your
polylines. Set the Name group using drop-down list to the field in the feature
class that you want to use as a basis for the name of the features.




                           SketchUp ArcGIS Plugin Tutorial
                                        -5-
Polygon - The Options Dialog box will display three fields for polygon feature
classes: Elevate by field, Extrude by field, and Name group using. Set the
Elevate by field to a field in the drop-down list that contains the altitudes (Z value)
to elevate your polylines. Set the Extrude by field to a field in the drop-down list
that contains extrusion values to extrude your polygons. Set the Name group
using drop-down list to the field in the feature class that you want to use as a
basis for the name of the features.




      Note – Multipatch feature class fields are not discussed because there are
no fields when exporting multipatch feature class.

TINs
The TINs tab is populated with TINs from your view. Click on the Exclude from
export check box to exclude the TIN from the export. You might want to exclude
a TIN because they can result in very large SketchUp files.

Click the Soften all edges check box to soften the edges of the TIN (making it
look more smooth and terrain-like) before exporting the TIN.




                            SketchUp ArcGIS Plugin Tutorial
                                         -6-
Finally, Click on the the Add button at the bottom of the page to to load TINs from
the disk during the export process.

     Tip –TINs can be manipulated using the Sandbox tools in SketchUp.




Rasters
The Rasters tab is populated with images from your view. These images are
already geolocated and will appear in SketchUp at the correct location. If the
image file is on your disk, it will be loaded and translated from that source. If the
image is in your database, the image will be translated from that information.

Click on the Exclude from export check box to exclude the image from the export.
You might want to exclude an image because the process of reading the image
from a database can be lengthy.

Select the file format for the image, in SketchUp, from the Raster format drop-
down. JPEG provides the best ratio between size and image quality.




                            SketchUp ArcGIS Plugin Tutorial
                                         -7-
III. Using ArcGIS Data in SketchUp
The ArcGIS export creates a .SKP file for use in SketchUp. Load the .SKP file
and model your buildings just as you would model anything within SketchUp.


     Warning – Do not change the scale of the geometry that is exported by
ArcGIS. The data exported from ArcGIS is already scaled appropriately.


     Warning – Do not change the model’s location (Window > Model Info >
Location). The data exported from ArcGIS is already spatially referenced.




                          SketchUp ArcGIS Plugin Tutorial
                                       -8-
IV. Exporting SketchUp Models for ArcGIS

Exporting from SketchUp to an ArcGIS Feature Class
  1. Use the Select Tool to select the geometry that you want to export. You
     can export the whole model or select the geometry:

          a. If you export the whole model (you do not select any geometry or
             do not check Use Selected Items Only in the Select Target Feature
             Class dialog box), all geometry, grouped or ungrouped, will be put
             into a single feature in a multipatch feature class. All your buildings
             or geometry will be in one feature for easy control.

          b. If you select geometry, ungrouped entities (entities not in a group or
             component) will be ignored. Each group or component will be put in
             a separate feature in a feature class. SketchUp will keep track of
             which feature class and feature ID each group came from so you
             can do a join between the multipatch feature class and the original
             feature class to easily get all the attributes from the original on the
             3D data.

         Note – You export multiple models (such as multiple buildings) in a
  single SketchUp file individually as separate features or collectively as a
  single feature. Furthermore, you can export data into separate feature classes
  in separate geodatabases. The plugins make no assumptions about how you
  will organize your GIS data.

  2. Select the Export > 3D Model from the File menu.

  3. Select the ESRI Multipatch option in the Export type drop-down list. All of
     the geodatabases in the current directory are displayed.

  4. Select the geodatabase where you want to save the feature.

  5. Click on the Export button. The Select Target Feature Class dialog box is
     displayed. This dialog box lists all of the SketchUp-compatible feature
     classes in the geodatabase.

  6.   Select the SketchUp-compatible feature class where you want to save the
       feature. The following image shows the Select Target Feature Class
       dialog box. AAA is the only feature class in the geodatabase.




                           SketchUp ArcGIS Plugin Tutorial
                                        -9-
7. Select the feature class you created in ArcGIS to store your feature or
   click on the Create button to create a new SketchUp-compatible feature
   class. See Creating a NEW SketchUp-Compatible Feature Class for more
   information on this option.

8. Check the Store Sketchup data in Feature check box if you want to save
   the model as both multipatch data and SketchUp data (as a SketchUp file
   in the geodatabase).

9. Check the Use Selected Items Only check box if you want to save just the
   selected groups and components (not the entire SketchUp model).

10. Click OK to save your SketchUp feature to the selected feature class.


       Note – An Assign Field Values dialog box might appear prompting you
to enter values for any numeric or textual custom fields that you might have
added to the feature class (either through an additional plugin or by creating a
new SketchUp-compatible feature class). You can enter these values now or
later in ArcGIS. If you have attributes on your group or component in the
ArcGIS dictionary, these fields will be automatically created and populated
with data on the geometry.This dialog box only appears when you have only
one group or component selected.




                        SketchUp ArcGIS Plugin Tutorial
                                    - 10 -
Creating a New SketchUp-Compatible Feature Class
A SketchUp-compatible feature class is a feature class with several options
preselected an fields precreated so that your SketchUp models can be stored in
a geodatabase as multipatch data with location information. To create a
SketchUp-compatible feature class:

   1. Click on the Create button in the Select Target Feature Class dialog box.
      The Create Feature Class dialog box is displayed.




   2. Enter a name for the feature class in the Name field. A feature class name
      can consist of alphanumeric (0-9, A-Z, a-z) and underbar (_) characters.
      The feature class name cannot begin with a number.




                          SketchUp ArcGIS Plugin Tutorial
                                      - 11 -
3. (optional) Click on the Add Field… button to add custom fields to your
   feature class. The Add Custom Field dialog box is displayed.




      a. Type the name of the custom field in the Name field. The name can
         consist of alphanumeric (0-9, A-Z, a-z) and underbar (_) characters.
         The feature class name cannot begin with a number.

      b. Select the type of data that can be stored in the custom field from
         the Type drop-down list.

      c. Click on the OK button when you are done adding the custom field.

4. Click on OK to create your feature class.

5. Check the Store Sketchup data in Feature check box if you want to save
   the model as both multipatch data and SketchUp data (as a SketchUp file
   in the geodatabase).

6. Check the Use Selected Items Only check box if you want to save just the
   selected groups and components (not the entire SketchUp model).

7. Click OK to save your SketchUp feature to the selected feature class.




                       SketchUp ArcGIS Plugin Tutorial
                                   - 12 -
       Note – An Assign Field Values dialog box might appear prompting you
to enter values for any numeric or textual custom fields that you might have
added to the feature class (either through an additional plugin or by creating a
new SketchUp-compatible feature class). You can enter these values now or
later in ArcGIS. If you have attributes on your group or component in the
ArcGIS dictionary, these fields will be automatically created and populated
with data on the geometry.This dialog box only appears when you have only
one group or component selected.




                        SketchUp ArcGIS Plugin Tutorial
                                    - 13 -