Sync Feature Layers

In CityEngine 2017.1 or later, you can edit ArcGIS Online polygon feature layers in CityEngine and synchronize the updates to ArcGIS Online. Make edits to the polygon layer in CityEngine or externally on the server and synchronize updates to the layer across the ArcGIS platform.

Edit a Polygon Layer in CityEngine

Make edits to a ArcGIS Online polygon feature layer by adding the polygon layer to CityEngine, making changes, and synchronizing the layer with ArcGIS Online.

Add a Polygon Layer to CityEngine

Access ArcGIS Online layers by signing in to ArcGIS Online and viewing the My Content, Group, or All Portal tabs in Navigator.

To add a polygon layer, do the following:

  1. Open Navigator.
  2. Right-click the polygon layer you want to edit.
  3. Choose Import.

CityEngine will add the polygon feature layer to the Scene Editor and indicate that the layer is ready for snychronization with the the Feature layer (hosted) icon . If you don't see the polygon layer in the Scene Editor after Import, check the Log for further details.

Edit Polygon Layer

You can edit the features of a polygon layer inside CityEngine with any of the CityEngine tools, such as the Move, Scale, or Regular shape creation tools.

Make any of the following edits to polygon geometry in the layer:

To edit the polygon attributes, do the following:

  1. Select a polygon feature.
  2. Open the Inspector.
  3. Click Object attributes.
  4. Make edits to the attributes in the layer.

CityEngine can only synchronize Short and Long Integers, Double, Float, and Text type fields.

Syncing Data in CityEngine

Sync the local changes you made in CityEngine to the ArcGIS Online polygon layer.

  1. Open the Scene Editor.
  2. Right-click the polygon layer.
  3. Choose Synchronize.

The polygon layer is updated in ArcGIS Online.

With generated models based on an ArcGIS Online polygon feature layer you can still edit and synchronize the polygon layer with the generated models visible. Turn off the models in CityEngine to help perform these edits.

Apply External Updates to a Polygon Layer in CityEngine

You can make external edits to a polygon layer, such as in ArcGIS Online or ArcGIS Pro, and apply the updates in CityEngine.

Make External Updates

You can make external edits to both the geometry and attributes, such as in ArcGIS Pro.

In ArcGIS Online, you can make edits only to the attribute table of the polygon layer.

You can only add fields outside of CityEngine, such as in ArcGIS Pro or ArcGIS Online. If you do create new attribute fields outside of CityEngine, you need to remove and re-add the polygon layer in CityEngine in order for the changes to take affect.

Synchronize External Edits in CityEngine

  1. Select the polygon layer in Scene Editor.
  2. Right-click the polygon layer.
  3. Choose Synchronize.

The polygon layer is updated in CityEngine and matches the external updates.

Local and Server Conflicts

There may be instances where there are conflicting edits to the polygon layer in both CityEngine and on the server. In this case, CityEngine displays a Synchronization Conflict message that gives you the option to choose whether you want to keep the local CityEngine or server version. The version you select becomes the master version in CityEngine and ArcGIS Online.

Managing Polygon Layer Synchronization

For the synchronization feature to work, you need to ensure that the Edit and Sync settings are properly configured in ArcGIS Online.

  1. Open the polygon feature layer item in ArcGIS Online.
  2. Click Settings.
  3. Under Feature Layer (hosted) Settings, check Enable Editing and Enable Sync.
  4. Click Save.

You can also configure the Edit and Sync settings when you publish the polygon feature layer from ArcGIS Pro.

The exent of all the polygon features in the layer must be less then 500 kilometers.

Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.