Create GeoEvent Services

To create the GeoEvent Service used in the Nighttime Flow Analysis, log into ArcGIS GeoEvent Manager. Then, follow the steps to create the GeoEvent Service.

Sub-DMA to history

  1. Add a new GeoEvent Service with the following properties:
    • Service Name: SubDMAtoHistory
    • Service Description: This service monitors SubDMAs and maintains current information and a historical log of the observations.
  2. Add the DMAChanges-Input input connector.
  3. Add the following outputs connectors:
    • SubDMAHistory-Output
    • SubDMA-Output
  4. Add a Processor:
    Parameter Value
    Name CalcPrev1
    Processor Field Calculator
    Expression PREVGPM
    Target Field Existing Field
    Existing Field Name PREVGPM1
  5. Add a Processor:
    Parameter Value
    Name CalcPrev
    Processor Field Calculator
    Expression CURGPM
    Target Field Existing Field
    Existing Field Name PREVGPM
  6. Add a Processor:
    Parameter Value
    Name CalcCurrent
    Processor Field Calculator
    Expression OBSGPM
    Target Field Existing Field
    Existing Field Name CURGPM
  7. Add a Processor:
    Parameter Value
    Name CalcDiff
    Processor Field Calculator
    Expression OBSGPM - EXPGPM
    Target Field Existing Field
    Existing Field Name DIFFGPM
  8. Add a Processor:
    Parameter Value
    Name Reset Observation
    Processor Field Calculator
    Expression 0
    Target Field Existing Field
    Existing Field Name OBSGPM
  9. Add a Processor:
    Parameter Value
    Name InputToHistory
    Processor Field Mapper
    Source GeoEvent Definition Sub_District_Metered_Areas
    Target GeoEvent Definition DMA_History

    Update the field map:

    Source Fields Target Fields
    DMAID DMAID
    CURGPM OBSGPM
    EXPGPM EXPGPM
    DIFFGPM DIFFGPM
  10. Connect the elements in the GeoEvent Service. Diagram of elements connection in the GeoEvent Service
  11. Publish the SubDMAtoHistory service.
Top