Skip to main content

Is it possible to calculate coordinates of an editable point upon SAVE?

Comments

4 comments

  • Tom Neer
    Assuming you are directly editing your data. No. However there are a couple ways around this. 
    1. Create a Python script that runs on a Scheduled Task that queries the data and updates it
    2. Skip the freeform editing and control the edit process through a Workflow.
    Since I don't trust end users to care about my data as much as I do. I tightly control their ability to edit through Workflows. Current workflow is doing Addressing and gets the Lat/Long and USNG coordinates. 

     

     
    0
  • Bobby Jo Close
    Tom,

     

    Thank you for this idea. Can you post an example of what you have created?
    0
  • Tom Neer
    32k limit, ugh! Here are links to the workflow and how it runs. Please note that I removed the username and password so you won't be able to run it. The Feature Service is secured and never seen by the users. They only interact with the Map Service.

     

    Clip - https://dl.dropboxusercontent.com/u/695670/AddressMgmt/AddressManagement.mp4

     

    Xaml - https://dl.dropboxusercontent.com/u/695670/AddressMgmt/AddressManagement.xaml
    0
  • Tom Neer
    As a side note, we are doing some workarounds to write to tabular data (AddrMgmtSequence > AddrMgmtFlowChart > SaveNewAddress > GetSiteAddressID) to and for obtaining the USNG coordinate (AddrMgmtSequence > AddrMgmtFlowChart > SaveNewAddress > GetCoordinates). 

     

    We have written Workflow modules to expose these capabilities within the Worfklow Designer. We will release these shortly but they are still being debugged. These will include initially ApplyEdits, From GeoCoordinateString, and To GeoCoordinateString.
    0

Please sign in to leave a comment.