Skip to content

African Surveyors Connect | GeoConnect

The geospatial platform for visionaries and those who dare to dream

Menu
  • Posts
    • News
    • General
    • Educational
    • Spotlight
  • Jobs
  • Events
  • More
    • Learn-GIS
    • Magazine
    • Academy
Menu

Public User Access to ArcGIS Online Routing Services

Posted on June 10, 2021 by KUMBIRAI MATINGO

Do you need to publish public maps and apps using ArcGIS Online routing and traffic content?  For example, you may want to use the Traffic Service within a city traffice web site.  Or maybe you want to allow public citizens to use one of the Directions and Routing Services  to find the closest COVID-19 Vaccination Centers.

To use these ArcGIS Online services, users of the map typically provide an ArcGIS Online login.  However, this login isn’t something that a public citizen is going to have.  So how do you enable your organization’s maps to access these premium services? We want to avoid a scenario where our users end up going to Google Maps where there is less functionality too.

One option is to do this as a developer using an App Token and OAuth.  The process for setting this up is described here.

Another option doesn’t require any development skills and can be done through configuration as a standard ArcGIS Online user.  Follow this below workflow:

1)  Within the “My Content” page of ArcGIS.com, add an item.

2)  Obtain the service REST endpoint.  You can get this from the help documentation.

For example, the route service endpoint can be obtained from the REST documentation and will use:                         http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World

Or if you wanted to use the traffic service, look in the REST documentation to find this endpoint:  http://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer

3)  Enter the Username and Password that will be stored with this item.  This will need to be an ArcGIS Online named user login.  This option stores the credentials of the secure service.

 

4)  Add the item.

5)  On the item’s page, under the Settings Options, scroll to the bottom and choose “Limit Usage”.

 

6)  This will open the Limit Usage options.  Here, you can set criteria for which apps have access to the layer and set a maximum number of requests allowed for a specific period of time.

7)  Share the item.  If you want to make the service publicly available, share it with everyone.  Sharing it with just the groups in your organization will still require users to login to access it.

 

8)  Next, enjoy using that item in your public-facing maps and apps.  You can reference it with REST Connection that is given in the item details page.

My service URL looks like this: https://utility.arcgis.com/usrsvcs/servers/<my-unique-id>/rest/services/World/Route/NAServer/Route_World
Note: The section where I filled in with <my-unique-id>. This is an ID that is assigned to each user that utilizes the Service URL’s provided by the ArcGIS platform. The ID’s can never be the same so I have hidden mine to prevent you from exhausting my account.

9)  Finally, be sure that you implement this process responsibly.  When you store credentials with the item, and then share that item publicly, it gives everyone access to that service using your supplied login.  If done with a service that consumes credits for example, others that use the service will be deducting credits from your account.  For that reason, it’s very important to properly configure the “Limit Usage” (step 6 above).

This workflow can be used to publicly publish other content hosted by Esri.  For a summary of the different content available, see Ready-to-Use Content Included with Your Online Subscription.  The exception is Demographic and Lifestyle layers.  These layers cannot be published publicly yet.

KUMBIRAI MATINGO
KUMBIRAI MATINGO

Kumbirai is a GIS & MEAL specialist using geospatial analytics to advance global health and social impact. A certified Data Protection Officer (DPO), an open-data advocate and self-taught software developer, he builds web GIS tools that turn field data into decisions. He lectures in GIS/Remote Sensing and mentors emerging practitioners. Founder of a geospatial startup and nonprofit, he believes, “Real geospatial innovation happens when we empower communities with the right tools and knowledge.” Open to consulting and collaborations.

Share this:

  • Tweet
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print

Related Articles You Might Like

Search for Articles

Latest Posts

  • Deploying a GeoDjango App on Heroku
  • The Truth About Self-Taught Skills No One Tells You
  • Transformative Mapping Event Launches in Chinhoyi: A Testament to Youth Engagement and Community Collaboration 
  • GeoConnect Awarded Grant for Transformative OpenStreetMap Project in Chinhoyi, Zimbabwe
  • Unlocking Data Treasure Troves: A Guide to Accessing Zimbabwe’s Geospatial Datasets

In today’s digital age, a website is the face of your brand, and having a well-designed and functional website is essential for businesses to succeed online. Our web development services combine creativity and technical expertise to build custom websites that not only look great but also deliver a seamless user experience across all devices.

From responsive design to e-commerce integration, our team of web developers has the skills and experience to bring your vision to life and help your business thrive in the online world. Let us help you create a website that showcases your brand and drives growth for your business. Get in touch via WhatsApp on +263-77-6-887-606 or send me an Email on matingonk@gmail.com

While we have renamed and re-branded to GeoConnect, we have dedicated this platform to continue our work in sharing and exchanging knowledge with the community that has helped us become what we are today.

The journey and legacy continues. Learn more about Geo-Connect.

Quick Links / Resources

  • Legal
  • About Us
© 2025 African Surveyors Connect | GeoConnect | Developed for the profession with support from KM-Spatial
 

Loading Comments...
 

You must be logged in to post a comment.