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

In this tutorial, you'll create and share a scene covering an area in Portland, Oregon. The data includes building footprints and 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 Basic
    • An 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 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 Project, click Local Scene.
    Note:

    If you already have a project open, click the Project tab on the ribbon. In the list of side tabs, click New. Under New Project, 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). Your web scene will be shared in this local coordinate system. 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 some of your locally projected data to the scene. When you do this, the scene will use 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 until 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. While pressing the Ctrl key, click the Portland_Aerial raster dataset.
  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, 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 is the coordinate system of your scene. It is the same one used by the Buildings feature class and the 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 ArcGIS organization, the scene may contain a single basemap layer (such as Topographic) or two basemap layers (such as World Topographic Map and World Hillshade). There may also be a reference layer at the top of the Contents pane that provides labels or boundary lines for the basemap.

  6. In the Contents pane, click the basemap layer to select it. If there are additional basemap or reference layers, press the Ctrl key while clicking them also. Right-click any selected layer and click Remove Remove.

    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 has a 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.

    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.

    Tip:

    You can also drag the Portland_DTM3ft dataset from the Catalog pane onto the Ground heading in the Contents pane.

  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.
  12. 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.

  13. 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.

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

    • Title: Marquam Hill, Portland, Oregon
    • Tags: buildings, Portland, Oregon
    • Summary: 3D view of buildings in southwest Portland, Oregon.
    • Description: 3D view of buildings 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

    When you share the scene, the metadata will appear on the web scene's item page in your portal.

  15. 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.

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

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

  17. At the top of the Symbology pane, click the Gallery tab if necessary.
  18. Next to the search box, click the All styles drop-down arrow and click Project styles.

    The Project styles setting includes the styles added by default to your ArcGIS Pro project, as well as any styles you add yourself. The All styles setting includes all system styles installed with ArcGIS Pro. Choosing Project styles narrows the scope of symbol searches.

  19. In the search box, type building and press Enter.

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

  20. 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.

  21. 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 up and down.

    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 correctly positioned, they lie flat on the surface. 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, click the Feature Layer 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. Ensure 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.

    When the tool finishes running, 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 Remove Remove.
    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.

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 publishing privileges.

  1. At the top of the application, confirm that you are signed in to ArcGIS Pro.
  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 scene name. The Summary and Tags boxes contain the metadata you added earlier.

  3. 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 is stored at the root level of your portal content. You can create a folder by typing a name in the input box.

  4. Optionally, under Share with, check the appropriate boxes to share the scene with everyone, with members of your ArcGIS organization, or with any groups to which you belong.
  5. 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

    Marquam Hill_WEL: A web elevation layer created from the Portland_DTM3ft elevation layer.

    Tile Package

    Marquam Hill_WEL: A tile package uploaded if your active portal is ArcGIS Online.

    Web scene multipatch layer

    Marquam Hill_WSL1: A web scene layer created from the Buildings_3D layer.

    Feature layer

    Marquam Hill_WSL1: A web feature layer created from the Buildings_3D layer.

    Tiled layer

    Marquam Hill_WTL1: A web tile layer created from the Portland_Aerial image.

    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.

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

    No errors or warnings should be found.

    Tip:

    If you get error messages Error such as 00230 or 00079, these are caused by the presence of a basemap layer in the Contents pane. Remove the basemap layer and click Analyze again. To learn more about any warning or error, hover over the message, click the Options button Options that appears, and click Help.

  7. Click Share Share.
  8. Optionally, click Jobs Jobs to monitor the caching and publishing status in the Job Status pane.

    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.

  9. 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 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 can improve web scene performance, 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.

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

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

  11. At the top of the tile layer's item 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.

  12. If necessary, use the two circular handles to expand the visible range to its maximum extent.
    Visible Range slider for tile layer
  13. Click Save.
  14. Close the item page for the tile layer.
  15. On the item page for the Marquam Hill web scene layer, click Open in Scene Viewer.

    Web scene in Scene Viewer

  16. 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.

  17. Click a few buildings to see pop-ups with the feature attributes.
    Note:

    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.

  18. At the top of the page, 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 and to ArcGIS Pro. 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). After authoring the scene, you shared it to your ArcGIS Online or ArcGIS Enterprise portal and displayed it in Scene Viewer.

Related topics