Share with consumer applications

Sharing your road closure information as Open Data allows consumer navigation and traffic companies, like Waze, to leverage the information in applications used daily by the general public. Sharing up-to-date information with these applications helps minimize the impact of road closures, ease congestion, and enhance driver safety in your community. The road closures layer complies with the Common Internet File Strutcture (CIFS) for road closures but must be configured, as shown below, to capture required information.

Share road closure information as Open Data

To share your road closure information as Open Data and with consumer navigation and traffic applications, complete the following steps:

  • Sign in to your ArcGIS organization.
  • When assigning a Creative Commons License to your RoadClosures layer, choose the following options:
    • Allow adaptations of your work to be shared: Yes
    • Allow commercial uses of your work: Yes
  • Copy the HTML that is generated by the Creative Commons site.
  • Browse to your RoadClosures_public layer and edit the item details.
  • Click the Edit next to the Access and Use Constraints.
  • Paste the HTML you copied from the Creative Commons site in to the Access and Use Constraints text box.
  • Save the item.
  • Enroll in the Waze Connected Citizens Program.
  • Optionally, enable ArcGIS Open Data and configure your Open Data site.
  • Share your RoadClosures_public layer with your Open Data group.

Add your organization reference

To share your road closures with consumer applications you must store your organization reference with every road closure. This field is used by consumer applications to identify which organization the road closure data is coming from. The reference name must be a maximum of either 10 capital letters or 12 lowercase letters. The reference is your Connected Citizens Program ID for Waze, or other partner organization ID.

To add your organization reference, complete the steps below::

  • Sign in to your ArcGIS organization.
  • In My Content browse to the Road Closures Web Map.
  • Click Open in Map Viewer.
  • Click Edit.
  • Click Manage.
  • Select the Road Closures layer.
  • Edit the layer properties of the Both Directions feature template.
  • Enter your organization reference in the Organization field.
  • Click Done.
  • Repeat steps 5-7 for the layer properties of the One Direction feature template.
  • Click Save Changes.

Set required fields

To share your road closures with consumer applications, some information is required. You must change the fields indicated below to required so all road closures created capture the information needed by the consumer applications.

To set fields transmitted to consumer applications as required, complete the following steps:

  • In My Content browse to the Road Closures Web Mapping Application.
  • Click Edit Application.
  • Choose the Widget tab, and click the arrow to view widgets in the header Controller.
  • Hover over the smart editor widget and click on the Edit icon.
  • Click on the Smart Actions tab.
  • Click Add New.
  • Set the group name to Required Fields.
  • Set the Layer for Expression to Road Closures.
  • Click on the edit icon for expression
  • Click Add expression and set the expression to OBJECTID is not blank.
  • Set the following fields as required:
    • Street Name
    • Reason
    • Description
    • Direction
    • Start Time
    • End Time
  • Click OK.
  • Click OK.
  • Save the application.

Configure Road Closures Layer to share with Waze

One of the partners that your community can share data with is Waze through the connected citizens program. To share your feed you must create a JSON request from the feature layer.

To configure your road closures layer as a partner data feed for Waze, follow the steps below:

  • To share your data with Waze, follow the steps found in the Waze Partners Help topic page.
  • The link to your data feed should be constructed using a JSON feature layer query using the following schema. The bold sections must be configured for your specific service:

                            
    https://MY SERVICES.MY SERVER.com/MY ORG ID/ArcGIS/rest/services/MY PUBLIC ROAD CLOSURES LAYER/FeatureServer/1/query?where=1%3D1&outFields=OBJECTID,street,subtype,description,direction,starttime,endtime,type,reference&outSR=4326&returnZ=false&f=geojson
                            
                        

  • For more information on querying a feature layer, see the Query a feature layer topic.
Top