Finding the Green Goddess: 3D models in Scene viewer

914
0
07-21-2022 01:39 PM
TomBaker
Esri Regular Contributor
0 0 914

While adding 3D buildings from OpenStreetMap is an incredible tool for adding contextual data to your web scene, not all "buildings" are reasonably represented.  Consider non-standard objects in the built environment: monuments, ships, even baseball stadiums are not currently represented well.

Screen Shot 2022-07-21 at 1.08.13 PM.png

To the left, is Ellis Island (home of the Statue of Liberty - also the Green Goddess, Lady on a Pedestal, and Mother of Freedom) with only OpenStreetMap 3D buildings.  The monument pedestal is present but not the monument.

Screen Shot 2022-07-21 at 12.24.56 PM.png

To improve this, we can download a 3D model from SketchFab, add it to CityEngine, and ultimately publish a hosted scene layer.  That scene layer contains the Statue of Liberty and can be added to anyone's ArcGIS Online 3D Scene. The remainder of this blog presents one workflow to achieve this result.

Workflow

  1. Head over to SketchFab and download a free model of interest that includes CC licensing.  This link goes to a preset search for the Statue Of Liberty. Download the model. Almost any format is fine but I tend to download OBJ, FBX, or Collada formatted models.
  2. Create a new CityEngine project - based on real map data.  Run through the defaults and pick the geography where you want to place your 3D model.  In my case, my CityEngine project was of and around Ellis Island, New York.
  3. In CItyEngine, use "Import" to add your 3D object.
  4. The object will display in your CityEngine project.  Select the object and use the move tool to carefully and as accurately as possible, nudge the object into the space it belongs.
  5. Save your CityEngine project.
  6. At this point, I turn off all layers, except my 3D model.
  7. Go to the Export Models tool. CityEngine allows for export to an Esri Scene Layer.  Remember where you have saved the file.

Login to your ArcGIS Online account (with at least publisher level permissions).

  1. Add the item.  Go to Content -> New Item button -> From Device.
  2. Add appropriate title and metadata.
  3. When prompted, add the file and create a hosted scene layer. Screen Shot 2022-07-21 at 12.07.22 PM.png
  4. When published, I recommend sharing the hosted scene service publicly.  Be sure to complete the metadata and upload an appropriate thumbnail.
  5. Start a new Scene viewer (3D) map.  Add you new hosted feature service.  You can also add "OpenStreetMap 3D buildings".  If you end up with data from the OSM layer instructing your 3D model, you can use a spatial filter to hide the object as outlined in this blog. (Expand the image to the right to see the spatial join window and obstructed 3D model.)

 

Resources

Screen Shot 2022-07-21 at 12.08.47 PM.png