Configure Road Closures

In this topic, you will learn how to configure the Road Closures solution to meet specific needs in your organization.

Create public road closure map

Focused road closure maps and information can be embedded on your website so they can be accessed by the general public. Maps can be focused on public safety incidents or specific events occurring in a community, or more general road closure maps used during road construction season.

To create a public road closure map, complete the following steps:

  1. Sign in to your ArcGIS organization.
  2. Create a map that can be used by the general public to view road closures, by completing the following workflow:
    • Choose a basemap.
    • Add the RoadClosures_public layer to the map and remove RoadClosures_public - from the layer names.
    • Save the map as Public Road Closures.
  3. Share the map with your organization and everyone.
  4. Embed the Public Road Closures map in your public works website.

Share with Waze

Sharing your road closure information as Open Data allows consumer navigation and traffic companies, like Waze, to leverage the information in apps used daily by the general public. Sharing up-to-date information with these apps 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 Structure (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 Waze, complete the following steps:

  1. Sign in to your ArcGIS organization.
  2. 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
  3. In the Have a web page area, copy the HTML that is generated by the Creative Commons site.
  4. In ArcGIS Online, browse to your RoadClosures_public layer.
  5. Open the items detail page.
  6. Click Edit the item details.
  7. Scroll to the Terms of Use, click Edit.
  8. Click View HTML Source.
  9. Paste the HTML copied from the Creative Commons site into the Terms of Use text box.
  10. Click Save.
    Note:

    You must use a license that allows for international commercial use and allows shared adaptations or a license placing your data in the public domain.

  11. Enroll in the Waze for Cities program.

    When you share your road closure information with Waze for Cities, new road closures added by your community in ArcGIS will be added to Waze every minute.

  12. Optionally, enable ArcGIS Open Data and configure your Open Data site.
  13. Share your RoadClosures_public layer with your Open Data group.
    Note:

    When you share your road closure information as Open Data, it can also be discovered at https://opendata.arcgis.com.

Add your organization reference

To share your road closures with Waze you must store your organization reference with every road closure. This field is used by Waze 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 Waze for Cities program ID.

To add your organization reference, complete the steps below:

  1. Sign in to your ArcGIS organization and browse to the Road Closures map.
  2. Open the item details page.
  3. Click Open in Map Viewer.
  4. Click Edit.
  5. Click Manage.
  6. Click the Layer drop-down choose Road Closures layer.
  7. Click the drop-down arrow next to Both Directions feature template and choose Properties.
  8. In the Properties window, scroll to Organization and enter your organization reference.
  9. Click Done.
  10. Repeat steps 6 through 7 for the One Direction feature template layer properties.
  11. Click Save Changes.

Set required fields

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

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

  1. Sign in to your ArcGIS organization and browse to the Road Closures app.
  2. Open the item details page.
  3. Click Edit Application.
  4. Click the Widget tab > Set the widget in this controller to open the page for in-panel widget.
  5. Hover over the smart editor widget and click the Configure this widget button to open the widget configuration window.
  6. Click the Smart Actions tab.
  7. Click Add New.
  8. In the Group Name text box, type Required Fields.
  9. Click the Layer for Expression drop-down and choose Road Closures.
  10. Click Edit Expression button.
  11. Click Add expression and set the expression to: OBJECTID is not blank.
  12. Click OK.
  13. Expand the Road Closure layer and check the check box for following fields as required:
    • Street Name
    • Reason
    • Description
    • Direction
    • Start Time
    • End Time
  14. Click OK twice.
  15. Save the app.

Configure Road Closures layer to share with Waze

One of the partners that your community can share data with is Waze through the Waze for Cities program. To share your data with Waze, follow the steps found in the Waze partners Overview page. To share your feed, you must create a JSON request from the Public Road Closures feature layer.

To create the request URL required by Waze, follow the steps below:

  1. Sign in to your ArcGIS organization and browse to the RoadClosures_public item.
  2. Open the item page, click the Road Closures layer under Layers.
  3. From the layer URL, click Copy.
  4. Paste the URL into a text editor.
  5. Copy the code below and paste it into the text editor at the end of the url pasted in the previous step.
    /query?where=1%3D1&outFields=OBJECTID,street,subtype,description,direction,starttime,endtime,type,reference&outSR=4326&returnZ=false&f=geojson
    Tip:

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