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.
- 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 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.
- Open a web browser to the item page of Author and share a local scene.
- Click Download on the right side of the page.
- 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.
- Start ArcGIS Pro and sign in if necessary.
- On the start page, under New Project, click Local Scene.
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.
- On the Create a New Project dialog box, name the project Portland.
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 and browse to a different folder.
- Click OK.
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.
- On the ribbon, click the View tab. In the Windows group, click 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.
- In the Catalog pane, on the Project tab, right-click Databases and click Add Database .
- 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.
- In the Catalog pane, expand Databases . Right-click 3D_Portland.gdb and click Make Default .
- Expand the 3D_Portland geodatabase.
The geodatabase contains a polygon feature class, two raster datasets, and a point feature class.
- Right-click the Buildings feature class and click Properties . On the Feature Class Properties dialog box, on the Source tab, expand Spatial Reference.
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.
- 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.
- 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.
- Right-click either selected dataset and click Add To Current Map .
The scene zooms to an area of west Portland known as Marquam Hill, where Oregon Health & Science University is located.
- In the Contents pane, right-click the default scene name (Scene) and click Properties .
- On the Map Properties dialog box, click the Coordinate Systems tab.
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.
- 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.
- 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 .
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.
- In the Contents pane, under Elevation Surfaces, right-click WorldElevation3D/Terrain3D and click Remove .
- Under Elevation Surfaces, right-click Ground and click Add Elevation Source .
- On the browse dialog box, under Project, click Databases. Double-click the 3D_Portland geodatabase to open it and click Portland_DTM3ft. Click OK.
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.
You can also drag the Portland_DTM3ft dataset from the Catalog pane onto the Ground heading in the Contents pane.
- In the Contents pane, double-click the scene name to open its properties.
- On the Map Properties dialog box, click the General tab.
- In the Name box, replace the default name with Marquam Hill.
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.
- 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.
- 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.
- 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.
- In the Contents pane, click the symbol for the Buildings layer.
The Symbology pane appears and displays formatting options for the polygon symbol.
- At the top of the Symbology pane, click the Gallery tab if necessary.
- 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.
- In the search box, type building and press Enter.
The list of symbols in the gallery is filtered to building footprint symbols.
- Click the beige Building Footprint symbol (or a different one if you like).
The symbol is updated in the Contents pane and in the scene.
- On the Quick Access Toolbar, click Save to save the project.
You'll explore the scene by panning and rotating it. You'll also extrude the buildings to give them height.
- On the ribbon, click the Map tab. In the Navigate group, click the Explore tool if necessary.
- Use the on-screen navigator to explore the scene or use the following mouse movements:
Scroll the mouse wheel (or press the right mouse button).
Press the scroll wheel and move the mouse up and down.
Press the scroll wheel and move the mouse from side to side.
If you get lost and don't see your data, right-click the Buildings layer in the Contents pane and click Zoom To Layer .
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.
- In the Contents pane, right-click the Buildings layer and click Attribute Table .
- Scroll across the table until you see the Average Height attribute.
This field stores the height of each building in feet.
- Close the attribute table.
- In the Contents pane, confirm that the Buildings layer is selected. On the ribbon, click the Feature Layer tab.
- In the Extrusion group, click the Type button and choose an extrusion type:
- If you have a 3D Analyst extension license, choose Max Height .
- If you do not have a 3D Analyst extension license, choose Base Height .
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).
- Click the Field drop-down arrow next to the extrusion type and click Average Height. Confirm that the Unit setting is Feet.
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 . 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.
- On the ribbon, click the Analysis tab. In the Geoprocessing group, click Tools .
- 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.
- On the Parameters tab, click the Input Feature Layer drop-down arrow and click Buildings.
- Name the Output Feature Class Buildings_3D.
- Click the Grouping Field drop-down arrow and click Building ID.
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.
- Click Run .
When the tool finishes running, the Buildings_3D layer is added to the scene.
- In the Contents pane, click the Buildings layer to select it. Right-click the selected layer and click Remove .
The Buildings_3D layer looks the same as the Buildings layer and has the same symbology.
- In the Catalog pane, on the Project tab, expand Databases. Expand the 3D_Portland geodatabase.
The Buildings_3D multipatch feature class is part of your 3D_Portland geodatabase.
- On the Quick Access Toolbar, click 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.
- At the top of the application, confirm that you are signed in to ArcGIS Pro.
- On the ribbon, click the Share tab. In the Share As group, click 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.
- 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.
- 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.
- At the top of the Share As Web Scene pane, click the Content tab.
On the New Content tab , you see the content that will be created in your portal when you share the 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.
Marquam Hill_WEL: A web elevation layer created from the Portland_DTM3ft elevation layer.
Marquam Hill_WEL: A tile package uploaded if your active portal is ArcGIS Online.
Marquam Hill_WSL1: A web scene layer created from the Buildings_3D layer.
Marquam Hill_WSL1: A web feature layer created from the Buildings_3D layer.
Marquam Hill_WTL1: A web tile layer created from the Portland_Aerial image.
The elevation 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.
- Under Finish Sharing, click Analyze to check for warnings or errors.
No errors or warnings should be found.
If you get error messages 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 that appears, and click Help.
- Click Share .
- Optionally, click 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.
- 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.
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.
- 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.
- 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.
- If necessary, use the two circular handles to expand the visible range to its maximum extent.
- Click Save.
- Close the item page for the tile layer.
- On the item page for the Marquam Hill web scene layer, click Open in Scene Viewer.
- Use the Scene Viewer navigation tools to zoom in and out and view the scene from different perspectives.
- Click a few buildings to see pop-ups with the feature attributes.
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.
- At the top of the page, click the Home drop-down arrow and click Content.
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.