Author and share a local scene

Scenes in ArcGIS Pro are 3D maps that can be either local (for small areas) or global (for large areas). You can share them as web scenes to your ArcGIS Online or ArcGIS Enterprise portal for online viewing.

Overview

  • Video length: 3:14
  • This video was created with ArcGIS Pro 2.5.

In this tutorial, you'll create and share a scene covering an area in Portland, Oregon. The data includes building footprints, tree locations, aerial imagery from the city's open data portal, and lidar-derived elevation data from NOAA's DigitalCoast Data Access Viewer. Because the area of interest is small, your scene will be local and will use a local coordinate system.

  • Estimated time: 30 minutes
  • Software requirements:
    • ArcGIS Pro
    • ArcGIS Online or ArcGIS Enterprise account with sharing privileges
    • ArcGIS 3D Analyst extension (recommended)

Download the data

The data used in this tutorial has been saved as a zipped file geodatabase and is available to download from ArcGIS Online. The geodatabase was compiled using publicly available data from the City of Portland and NOAA.

  1. Open a web browser to the item details page of Author and share a local scene.
  2. Click Download on the right side of the page.
  3. In the Downloads folder on your computer, right-click Author_and_share_a_local_scene.zip and extract it to a convenient location, such as C:\Temp.

Create a project

You'll create a project from the Local Scene template on the ArcGIS Pro start page. Then you'll make a connection to the data you downloaded.

  1. Start ArcGIS Pro and sign in if necessary.
  2. On the start page, under New, click Local Scene.
    Note:
    If you already have a project open, click the Project tab on the ribbon. In the list on the left, click New. In the list of project templates, click Local Scene.
  3. On the Create a New Project dialog box, name the project Portland.
    Create a New Project dialog box

    By default, projects are created in your <User Documents>\ArcGIS\Projects folder. You can change this location in the General options. Alternatively, you can click Browse Browse and browse to a different folder.

  4. Click OK.
    A scene view zoomed to North America

    The project opens with a scene view. The basemap and geographic extent you see are determined by administrative settings in your ArcGIS Online or ArcGIS Enterprise portal. The scene also includes a default elevation surface.

  5. On the ribbon, click the View tab. In the Windows group, click Reset Panes Reset Panes and click Reset Panes for Mapping (Default).

    This ensures that the Contents and Catalog panes are open and that other panes are closed.

  6. In the Catalog pane, on the Project tab, right-click Databases Databases and click Add Database Add Database.
  7. On the browse dialog box, browse to the location where you extracted the tutorial data (for example, C:\Temp). Double-click the Author_and_share_a_local_scene folder. Click the 3D_Portland geodatabase to select it and click OK.

    A connection to the database is added to your project. You'll make it the default geodatabase so that your geoprocessing outputs are saved there by default.

  8. In the Catalog pane, expand Databases Databases. Right-click 3D_Portland.gdb and click Make Default Make Default.
  9. Expand the 3D_Portland geodatabase.
    Contents of the 3D_Portland geodatabase

    The geodatabase contains a polygon feature class, two raster datasets, and a point feature class.

  10. Right-click the Buildings feature class and click Properties Properties. On the Feature Class Properties dialog box, on the Source tab, expand Spatial Reference.
    Spatial reference properties for the Buildings feature class

    The projected coordinate system for the Buildings feature class is NAD 1983 HARN StatePlane Oregon North FIPS 3601 (Intl Feet). The other datasets in the geodatabase also use this coordinate system.

  11. On the Feature Class Properties dialog box, click Cancel.

Add data to the scene

You'll add your locally projected data to the scene. When you do so, the scene will adopt the same projection. However, the scene also contains basemap and elevation layers that ArcGIS Pro added automatically. These layers are in a Web Mercator projection. You will not be able to share the scene in a local projection unless these layers are removed.

Unlike a web map, a web scene can be shared without a basemap. However, a web scene must have an elevation layer. You'll remove the basemap layer from the scene and replace the default elevation layer with one from your 3D_Portland geodatabase.

  1. In the Catalog pane, click the Buildings feature class in the 3D_Portland geodatabase to select it. Hold the Ctrl key and click the Portland_Aerial raster dataset also.
  2. Right-click either selected dataset and click Add To Current Map Add To Current Map.

    The scene zooms to an area of west Portland known as Marquam Hill, where Oregon Health & Science University is located.

    Local scene with Portland data
    Your symbol color for the buildings may be different.
  3. In the Contents pane, under Drawing Order, right-click the default scene name (Scene) and click Properties Properties.
  4. On the Map Properties dialog box, click the Coordinate Systems tab.

    Current XY coordinate system setting

    This confirms that the coordinate system of the scene—Oregon State Plane North—matches the coordinate system of the Buildings feature class and Portland_Aerial raster dataset.

  5. Click Cancel.

    You'll remove the scene's basemap layer so you won't get an error when you share the scene. Depending on administrative settings in your portal, the scene may contain a single tile basemap (such as Topographic) or two vector tile basemap layers (such as World Topographic Map and World Hillshade). The basemap layer may be accompanied by a reference layer that appears at the top of the Contents pane and provides labels or boundary lines for the basemap.

  6. Right-click the basemap layer (for example, Topographic), and click Remove Remove. Remove any other basemap and reference layers in the scene.

    You'll replace the default elevation layer with the Portland_DTM3ft elevation dataset in your geodatabase. This dataset is in the correct coordinate system and also has much higher resolution than the default elevation layer. The higher resolution means that features in the scene will be more accurately positioned in vertical space.

  7. In the Contents pane, under Elevation Surfaces, right-click WorldElevation3D/Terrain3D and click Remove Remove
  8. Under Elevation Surfaces, right-click Ground and click Add Elevation Source Add Elevation Source.
  9. On the browse dialog box, under Project, click Databases. Double-click the 3D_Portland geodatabase to open it and click Portland_DTM3ft. Click OK.
    Tip:

    You can also drag the Portland_DTM3ft dataset from the Catalog pane and drop it on the Ground heading in the Contents pane.

    Contents pane with layers of Portland data

    Previously, you opened the scene properties to check the coordinate system. You'll open them again to change the scene name and make other settings.

  10. In the Contents pane, double-click the scene name to open its properties.
  11. On the Map Properties dialog box, click the General tab. If necessary, set the Elevation Units to Feet. Set the Display units to Feet or a unit of measure familiar to you.

    The elevation units should be set to the actual measurement units of the data, which are feet. If this setting is wrong, the data will not draw at the correct elevation. The display units are a reporting unit that you can set to any unit you like.

  12. Click the Metadata tab and fill in the following fields as shown:

    • Title: Marquam Hill, Portland, Oregon
    • Tags: buildings, trees, Portland, Oregon
    • Summary: 3D view of buildings and trees in southwest Portland, Oregon.
    • Description: 3D view of buildings and trees in southwest Portland, Oregon. The scene uses high-definition elevation data from NOAA's DigitalCoast Data Access Viewer.
    • Credits: City of Portland, CivicsApps.org, National Oceanic and Atmospheric Administration

    The title, tags, and summary are required for sharing. When you share the scene, the metadata will appear on the web scene's item details page.

  13. Click OK.

    You'll change the color of the buildings—which may be blue or pink or some other color—to something typical for buildings.

  14. In the Contents pane, click the symbol for the Buildings layer.

    The Symbology pane appears and displays formatting options for the polygon symbol.

  15. At the top of the Symbology pane, click the Gallery tab if necessary.
  16. In the search box, type building and press Enter.

    The list of symbols in the gallery is filtered to building footprint symbols.

  17. Click the beige Building Footprint symbol (or a different one if you like).

    Buildings displayed on aerial imagery

    The symbol is updated in the Contents pane and in the scene.

  18. On the Quick Access Toolbar, click Save Save to save the project.

Extrude buildings

You'll explore the scene by panning and rotating it. You'll also extrude the buildings to give them height.

  1. On the ribbon, click the Map tab. In the Navigate group, click the Explore tool Explore Tool if necessary.
  2. Use the on-screen navigator Navigator to explore the scene or use the following mouse movements:

    Zoom

    Scroll the mouse wheel (or press the right mouse button).

    Tilt

    Press the scroll wheel and move the mouse forward and backward.

    Rotate

    Press the scroll wheel and move the mouse from side to side.

    Tip:

    If you get lost and don't see your data, right-click the Buildings layer in the Contents pane and click Zoom To Layer Zoom To Layer.

    Scene with flat buildings

    The topography displays in 3D using the values in the Portland_DTM3ft elevation layer. Although the buildings are positioned on the surface, they are not extruded; in other words, they don't have any height. If you know the heights of the buildings, you can extrude them. You'll check the layer attribute table for a height attribute.

  3. In the Contents pane, right-click the Buildings layer and click Attribute Table Open Table.
  4. Scroll across the table until you see the Average Height attribute.

    Average Height field in Buildings layer attribute table

    This field stores the height of each building in feet.

  5. Close the attribute table.
  6. In the Contents pane, confirm that the Buildings layer is selected. On the ribbon, under Feature Layer, click the Appearance tab.
  7. In the Extrusion group, click the Type button and choose an extrusion type:
    • If you have a 3D Analyst extension license, choose Max Height Max Height.
    • If you do not have a 3D Analyst extension license, choose Base Height Base Height.
    Note:

    The reason for making this choice is explained in the next section. To check whether you have a 3D Analyst extension license, on the ribbon, click the Project tab. In the list of side tabs, click Licensing. Under Esri Extensions, look for 3D Analyst (it should be the first extension listed).

  8. Click the Field drop-down arrow next to the extrusion type and click Average Height. Confirm that the Unit setting is Feet.

    Buildings displayed at their actual heights in the scene

    In the scene, the buildings display at the heights stored in the attribute table. In the Contents pane, the Buildings layer moves from the 2D Layers category to the 3D Layers category because extrusion is a 3D property.

Convert buildings to multipatch features

The extruded buildings display well in ArcGIS Pro but feature extrusion is generally not supported in web scenes. In other words, when the scene is shared, the buildings will be flat again. To solve this problem, you'll convert the buildings from polygons to 3D multipatch features with the Layer 3D To Feature Class geoprocessing tool. Multipatch feature geometry can be visualized in 3D in web scenes.

The Layer 3D To Feature Class tool requires a 3D Analyst extension license. If you don't have this license, you can skip this section and complete the rest of the tutorial. Make sure that you have extruded the Buildings layer with the Base Height extrusion type Base Height. Extrusion of polygon features in web scenes is supported for this one method. The drawback to base height extrusion is that the building rooftops will follow the terrain variation and will have a sloping appearance in some cases.

  1. On the ribbon, click the Analysis tab. In the Geoprocessing group, click Tools Tools.
  2. In the Geoprocessing pane, in the search box, type Layer 3D To Feature Class. In the list of search results, click Layer 3D To Feature Class to open the tool.
  3. On the Parameters tab, click the Input Feature Layer drop-down arrow and click Buildings.
  4. Name the Output Feature Class Buildings_3D.
  5. Click the Grouping Field drop-down arrow and click Building ID.
    Layer 3D To Feature Class geoprocessing tool

    The Buildings attribute table contains multiple records with the same Building ID value. In other words, a single building may be represented by several records (and likewise several features). The reason for this is that some buildings have complex shapes, such as tiers and superstructures, that can't be drawn with a single 2D polygon. Multipatch feature geometry can incorporate this complexity in a single feature. Grouping the buildings by their Building ID value means that any features with a common building ID will become part of the same multipatch feature. The Buildings_3D layer will have the same appearance as the Buildings layer (and the same number of actual buildings) but will have fewer features.

  6. Click Run Run.

    The Buildings_3D layer is added to the scene.

  7. In the Contents pane, click the Buildings layer to select it. Right-click the selected layer and click RemoveRemove.
    View of Buildings_3D layer

    The Buildings_3D layer looks the same as the Buildings layer and has the same symbology.

  8. In the Catalog pane, on the Project tab, expand Databases. Expand the 3D_Portland geodatabase.

    Contents of the 3D_Portland geodatabase

    The Buildings_3D multipatch feature class is part of your 3D_Portland geodatabase.

  9. On the Quick Access Toolbar, click Save Save to save the project.

Add a preset layer of trees

The 3D_Portland geodatabase also contains a point feature class with the locations of trees. You can see trees in the Portland_Aerial layer, but the feature class will display trees as discrete objects that can be symbolized. You'll symbolize the trees with a preset layer to give them a more realistic appearance. Preset layers define complex symbols and other layer properties.

  1. On the ribbon, click the Map tab. In the Layer group, click Add Preset Add Preset Layer and click Thematic Trees Thematic Trees.
  2. On the browse dialog box, under Project, double-click Databases. Double-click the 3D_Portland geodatabase to show its contents.

    The Trees feature class is the only feature class available because the Thematic Trees preset layer must be applied to a point feature class.

  3. Click Trees and click OK.

    The layer is added to the Contents pane in the 3D Layers category. The Trees feature class is a 2D dataset (it does not store z-values), but the preset layer symbology applies 3D properties to the layer.

    The thematic trees draw in the scene and the Symbology pane appears, displaying settings for the preset layer. You'll adjust these settings in a moment.

    Note:

    The trees don't cover the entire study area, just the relatively flat, eastern part of it. If the trees don't draw immediately in your scene, try zooming in or out to make them appear.

  4. In the Contents pane, right-click the Trees layer and click Attribute Table Open Table.
  5. Scroll across the table and notice the GENUS and TREE_HEIGHT fields.

    Information about tree genus can be used to define the symbol shapes more exactly. Information about tree height can be used to draw the trees at the correct size.

  6. Close the attribute table.
  7. In the Symbology pane, set the Type to Genus. If necessary, set the Height to TREE_HEIGHT and the Unit to Feet. Leave the other settings at their default values.

    Symbology pane with settings for thematic trees

  8. Explore the scene and look at the buildings and trees from different perspectives.
    View of 3D buildings and thematic trees

    When you share the scene, the 3D appearance of the features will be maintained in the web scene.

  9. On the Quick Access Toolbar, click Save Save to save the project.

Share a web scene

You're ready to share the scene to the web. You must be connected to an ArcGIS Online or ArcGIS Enterprise portal and your account must have the privilege to publish hosted web layers.

  1. Confirm that you are signed in to ArcGIS Pro through your active portal.
  2. On the ribbon, click the Share tab. In the Share As group, click Web Scene Web Scene.

    The Share As Web Scene pane appears. On the Scene tab, under Item Details, the Name box displays the default scene name. The Summary and Tags boxes contain the metadata you added earlier.

  3. In the Name box, replace the default name with Marquam Hill.
    Tip:

    In the Name box, Marquam may appear with a wavy red underline that indicates a possible spelling error. You can right-click the word and click Ignore All on the context menu to remove the underline.

  4. Optionally, under Location, click the drop-down arrow and choose a folder in your portal content to which to share the web scene.

    If you don't specify a folder, the web scene will be stored at the root level of your portal content. You can also create a folder by typing a name in the input box.

  5. Optionally, under Share with, check the appropriate boxes if you want to share the scene with everyone, with members of your ArcGIS organization, or with any groups to which you belong.
  6. At the top of the Share As Web Scene pane, click the Content tab.

    On the New Content tab New Content, you see the content that will be created in your portal when you share the scene.

    List of web items created with the web scene

    IconDescription

    Web Scene

    The Marquam Hill web scene is an item in your portal that can be added to Scene Viewer. The web scene includes all the other layers listed.

    Elevation Layer

    The Portland_DTM3ft elevation raster is shared as a web elevation layer.

    Tile Package

    The elevation tiles are uploaded as a tile package if your active portal is ArcGIS Online.

    Web scene point layer

    The Trees layer is shared as a point scene layer.

    Feature layer

    The Trees layer is also shared as a web feature layer.

    Web scene multipatch layer

    The Buildings_3D layer is shared as a multipatch scene layer.

    Feature layer

    The Buildings_3D layer is also shared as a web feature layer.

    Tiled layer

    The Portland_Aerial image is shared as a web tile layer.

    Note:

    The elevation tile package Tile Package appears only if your active portal is ArcGIS Online. In this case, the elevation tiles are cached locally, packaged in your staging folder, and uploaded to ArcGIS Online, where the package is published as a web elevation layer. If your active portal is ArcGIS Enterprise, the tile package is not created because the elevation tiles are cached on the server by default.

    If you didn't convert the buildings to multipatch features—because you don't have the 3D Analyst extension—you won't have a Buildings_3D layer in your web content. You will have a Buildings layer that is shared as a web feature layer but not as a scene layer. This is true whether your active portal is ArcGIS Online or ArcGIS Enterprise.

  7. Under Finish Sharing, click Analyze Analyze to check for warnings or errors.

    On the Messages tab, warning 24131 Renderer uses tree preset layer appears. If the genus of a tree in your layer does not match the genus list that Esri supports, the tree will not draw in the web scene (but does draw in your project). There are several such trees in your layer, but this doesn't prevent you from sharing the scene.

    Error messages Error do prevent you from sharing. Common errors such as 00230 or 00079 may be caused by the presence of a basemap layer in the Contents pane. If you get these errors, remove the basemap layer and click Analyze again.

    Tip:

    To learn more about any warning or error, hover over the message, click the Options button Options that appears, and click Help. Learn more about analyzing your GIS resource.

  8. Click Share Share.
  9. Click Jobs Jobs to monitor the caching and publishing status in the Job Status pane.

    The Job Status pane showing all jobs complete

    The process takes time because many items are being created. The web scene publishes successfully and can be opened in Scene Viewer before the individual layers finish caching. However, it's a good idea to wait for the component layers to finish so that all the data displays when you open the scene.

  10. In the Share As Web Scene pane, click the Manage the web scene link at the bottom of the pane. Sign in to your portal if necessary to open the web scene's item details page.

    Success message for sharing a web scene

    In certain portal configurations, a default visibility range is applied to tile layers, such as the aerial image in your scene. This improves web scene performance in some circumstances, but in this case, it's not necessary. You'll check the settings of your tile layer to ensure it's visible at all scales.

  11. On the web scene item details page, under Layers, click Marquam_Hill_WTL1.

    The item details page for the tile layer opens in a new browser tab.

  12. At the top of the tile layer's item details page, click the Settings tab. Scroll down to the Tile Layer (hosted) section.

    Under Visible Range, a slider with a blue bar shows the visible range for the layer.

  13. If necessary, use the two circular handles to expand the visible range to its maximum extent.
    Visible range slider for tile layer
  14. Click Save.

    A message confirms that the item was successfully updated.

  15. Close the item details page for the tile layer.
  16. On the item details page for the Marquam Hill web scene layer, click Open in Scene Viewer.

    Web scene in ArcGIS Online Scene Viewer

  17. Use the Scene Viewer navigation tools to zoom in and out and view the scene from different perspectives.

    Because the scene is in a local projection, basemaps are not available. Learn how to create a basemap in a custom projection on the Learn ArcGIS site.

  18. Click a few building and tree features to see pop-ups with the feature attributes.
    Note:

    The Trees layer maintains all its attribute information. However, the Buildings_3D layer only shows a Building ID value. The other building attributes were dropped when you converted the Buildings layer with the Layer 3D To Feature Class tool. If you did not convert the Buildings layer to a multipatch feature class, you'll see all the building attributes.

  19. Click the Home drop-down arrow and click Content.

    Portal web items

    You see the web layers and packages created in your portal. The layers can be added individually to other scenes and maps. If you shared the web scene to an ArcGIS Enterprise portal, you will not have a tile package in your content.

In this tutorial, you created a local scene in a projection appropriate to the data. You converted a layer of buildings to a multipatch feature class for 3D web display (if you have the 3D Analyst extension) and used a preset layer to symbolize trees more realistically.

After authoring the scene, you shared it to your ArcGIS Online or ArcGIS Enterprise portal and displayed it in Scene Viewer. The web scene and the various web layers that were created with it can also be added from your portal to ArcGIS Pro. To learn more about adding web maps and layers to ArcGIS Pro, try the Share a web map tutorial.

Related topics