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:
- Sign in to your ArcGIS organization.
- Create a map that can be used by the general public to view road closures by doing the following:
- 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.
- Share the map with your organization and everyone.
- 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:
- Verify that you are signed in to your ArcGIS organization.
- 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.
- In the Have a web page area, copy the HTML that is generated by the Creative Commons site.
- In your ArcGIS organization, browse to your RoadClosures_public layer.
- Open the item details page.
- Click Edit to edit the item details.
- Scroll to the Terms of Use section and click Edit.
- Click View HTML Source.
- Paste the HTML copied from the Creative Commons site into the Terms of Use text box.
- 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.
- 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:
- Verify that you are signed in to your ArcGIS organization and browse to the Road Closures map.
- Open the item page and click Open in Map Viewer Classic.
- Click Edit.
- Click Manage.
- Click the Layer drop-down arrow and choose the Road Closures layer.
- Click the drop-down arrow next to the Both Directions feature template and choose Properties.
- In the Properties window, scroll to Organization and enter your organization reference.
- Click Done.
- Repeat steps 6 through 7 for the One Direction feature template layer properties.
- 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:
- Verify that you are signed in to your ArcGIS organization and browse to the Road Closures app.
- Open the item page and click Edit Application.
- Click the Widget tab and click Set the widget in this controller to open the page for an in-panel widget.
- Hover over the Create New Closure widget and click the Configure this widget button to open the widget configuration window.
- Click the Smart Actions tab.
- Click Add New.
- In the Group Name text box, type Required Fields.
- Click the Layer for Expression drop-down arrow and choose Road Closures.
- Click the Edit Expression button.
- Click Add expression and set the expression to OBJECTID is not blank.
- Click OK.
- Expand the Road Closure layer and check the check box for following fields as required:
- Street Name
- Reason
- Description
- Direction
- Start Time
- End Time
- Click OK twice.
- 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:
- Verify that you are signed in to your ArcGIS organization and browse to the RoadClosures_public item.
- Open the item page and click the Road Closures layer under Layers.
- From the layer URL, click Copy.
- Paste the URL into a text editor.
- 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.
- Provide the URL to Waze.