Skip To Content

Merging events

Location Referencing ライセンスで利用可能です。

You can merge two or more line events using the Merge Events tool available in the ArcGIS Event Editor or through the attribute table.

Merging events with the Merge Events tool

Upon successful execution, the Merge Events tool merges multiple adjoining events into an existing target event. All the input events, except the target event, retire. The merged event acquires the lowest value from the From Measure field and highest value of the To Measure field from the input events by default. If a gap exists between the input events, the gap is bridged in the merged event. You can edit the attributes of the merged layer prior to committing the merge.

Merging events

In the following image, if two events are merging and the From Measure of the starting event (EventId A) and the To Measure of the ending event (EventId B) have referent offset values, the resulting merged event (event A) will retain the referent offset values as its From Measure and To Measure.

Merging events with referent offset values

Use the following steps to merge events in the Event Editor.

  1. ArcGIS Event Editor を開き、プロンプトが表示されたら Portal for ArcGISArcGIS Online にサイン インします。
  2. [編集] タブをクリックします。
  3. In the Edit Events group, click the Merge Events button イベントのマージ.

    The Merge Events widget appears.

  4. Select the events on the map by drawing a bounding box.

    The events to be merged belong to the event layer selected in the Layer drop-down list.

    The Merge Events widget appears.

    Merge Events widget

    The event's attribute table opens at the bottom with the selected events highlighted in green.

    Event attribute table

    The participating events's EventID is listed in the Target Event drop-down list.

    Choosing the Target Event

  5. Optionally change the From Measure, To Measure, Start Date, and End Date values.

    The start date defaults to today's date. All the records highlighted in green will be merged to the target event.

  6. Optionally edit the characteristic attributes in the table.

    The attributes are from the Target Event by default.

    注意:

    コード値、範囲ドメイン、サブタイプは、属性値テーブルのフィールドに対して構成されている場合にサポートされます。

  7. Click Save to merge the records.

    編集されたイベントが保存されると、右下に確認メッセージが表示されます。

Merging events from the attribute table

You can also merge events using the records present in the attribute table using the following steps.

  1. Select events using selection tools such as Select by Route, Select by Polygon, Select by attributes, and so forth.

    The attribute table opens with the results.

    Event attribute table

  2. Highlight the events you want to merge by clicking them in the table and pressing and holding the Shift key.

    The selected rows are highlighted in blue.

  3. Click the Merge Events button イベントのマージ.
    1. The events records to be merged are highlighted in green.
      Merging events from the attribute table
    2. The Merge Events widget appears.
      Merge Events widget
  4. Optionally change the From Measure, To Measure, Start Date, and End Date values.

    The start date defaults to today's date. All the records highlighted in green will be merged to the target event.

  5. Optionally edit the characteristic attributes in the table.

    The attributes are from the Target Event by default.

    注意:

    コード値、範囲ドメイン、サブタイプは、属性値テーブルのフィールドに対して構成されている場合にサポートされます。

  6. Click Save to merge the records.

    編集されたイベントが保存されると、右下に確認メッセージが表示されます。

Editing with conflict prevention enabled

When conflict prevention is enabled, you can merge two or more adjoining events after acquiring locks under these conditions:

  • No one has a lock on the event layer in any versions of the feature service for the route on which the events will be located.
  • You already have an event lock on the event layer in which you're currently working.
  • You already have a lock in the current version on the route on which the event lies.
  • You already have a lock on the concurrent route of another network in the same version in which you're currently working.
  • You can edit an event layer if other events along the same route have locks acquired by different people in different versions.

When conflict prevention is enabled, you can't merge two or more adjoining events under these conditions:

  • The event layer is already locked by another person for the route on which the event is located.
  • The event layer is already locked by you for the route on which the event is located but in a different version.
  • The route on which the event is located is already locked by another person.
  • The route on which the event is located is already locked by you but on a different version.
  • The concurrent route on another network is already locked by you in another version or by a different person in a different version.

関連トピック