Customer Service | Training | Contact Us
Welcome!
Login
Search Options   products areas display

Which products should be considered?

All Products

ArcCAD
ArcEditor
ArcExplorer
ArcGIS Engine
ArcGIS Explorer
ArcGIS Image Server
ArcGIS Mobile
ArcGIS Server
ArcIMS
ArcInfo Desktop
ArcInfo Workstation
ArcLogistics Route
ArcPad
ArcPad Application Builder
ArcReader
ArcSDE
ArcView
ArcView 3.x
ArcWeb Services APIs
ArcWeb Toolbar for ArcGIS
Atlas GIS
BusinessMap
BusinessMap Pro
GIS Portal Toolkit
Job Tracking for ArcGIS
MapIt
Maplex
MapObjects -- Java
MapObjects -- Windows
MapObjects IMS
MapObjects LT
MapStudio
Military Overlay Editor
NetEngine
PC ARC/INFO & DAK
PLTS
RouteMap
RouteMap IMS
SDE
Tracking Server

    Remember these settings for each visit More info
You are here:

Technical Article   HowTo:  Create 3D buildings in ArcGlobe as extruded polygons

Article ID: 33240
Software:  ArcGIS - ArcEditor 9.0, 9.1, 9.2, 9.3, 9.3.1 ArcGIS - ArcInfo 9.0, 9.1, 9.2, 9.3, 9.3.1 ArcGIS - ArcView 9.0, 9.1, 9.2, 9.3, 9.3.1
Platforms: N/A

Summary

Instructions provided describe how to create three dimensional buildings with varied height and colors in ArcGlobe.

Procedure

Start with a polygon shapefile or feature class that has the footprints or outlines of the buildings.
Some buildings, such as the picture below, might be comprised of several polygons.

[O-Image]

  1. To make the buildings different colors, an attribute field that various colors can be assigned to needs to be used or created. If there is not a useable field, add a new short integer field, populate it with random numbers between a range, and symbolize colors from those unique values. In ArcMap, use the following VBScript expression in the field calculator to generate random numbers for a field. Check the Advanced Box, so this VBScript can be pasted into the Field Calculator.

    max=6
    min=1
    x = Int((max-min+1)*Rnd+min)

    Set the field's value to x.

    Open the Symbology settings. Use Categories/Unique values and set the color for each number. Save this as a layer file.
  2. Open the attribute table of the feature class and find a field that depicts the height of each building, such as the number of floors or the height above ground in feet. If such a field does not exist, add one and populate it with a constant value or random value: refer to step 1. Convert the conversion factor to meters for the height value. For example, with a field that indicates the number of floors, one could multiply that field by three to get the height in meters of the building, which is approximately three meters per floor.
  3. Add the building layer file to ArcGlobe and open the Layer Properties dialog box.
  4. Click the Globe Extrusion tab. Check 'Extrude features in layer'. Click the Field Calculator and type the expression needed to calculate the height of the building. Click OK. From the drop-down menu, select the expression to add to 'Each feature's minimum height'.
  5. Click OK to close the Layer Properties dialog box.

Related Information


Created: 7/6/2007
Last Modified: 10/29/2009

This website's graphical display is now viewable only with W3C standards-compliant browsers, but the content is accessible to all browsers and Internet devices. View our supported browser matrix for more information on our website display.