Configure Road Closures

Learn how to configure the Road Closures solution to meet specific needs in your organization.

Create a public road closure map

Focused road closure maps and information can be embedded in 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 they can be 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 doing the following:
    1. Choose a basemap.
    2. Add the RoadClosures_public layer to the map and remove RoadClosures_public from the layer names.
    3. 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 allows consumer navigation and traffic companies, such as 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

To share your road closure information with Waze, complete the following steps:

  1. Verify that you are signed in to your ArcGIS organization.
  2. When assigning a Creative Commons License to your RoadClosures layer, choose the following options:
    • For Allow adaptations of your work to be shared, choose Yes.
    • For Allow commercial uses of your work, choose Yes.
  3. In the Have a web page area, copy the HTML that is generated by the Creative Commons site.
  4. In your ArcGIS organization, browse to your RoadClosures_public layer.
  5. Open the item details page.
  6. Click Edit to edit the item details.
  7. Scroll to the Terms of Use section and 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 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.

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. Verify that you are signed in to your ArcGIS organization and browse to the Road Closures map.
  2. Open the item page and click Open in Map Viewer Classic.
  3. Click Edit.
  4. Click Manage.
  5. Click the Layer drop-down arrow and choose the Road Closures layer.
  6. Click the drop-down arrow next to the Both Directions feature template and choose Properties.
  7. In the Properties window, scroll to Organization and enter your organization reference.
  8. Click Done.
  9. Repeat steps 6 through 7 for the One Direction feature template layer properties.
  10. Click Save Changes.

Set required fields

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

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

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

Configure the 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. Verify that you are signed in to your ArcGIS organization and browse to the RoadClosures_public item.
  2. Open the item page and 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 you 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 Query a feature layer.

  6. Provide the URL to Waze.