O'Reilly logo

Mastering ArcGIS Enterprise Administration by Chad Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Web Map inventory

How many times have you had to open a Web Map in the map viewer or view its properties just to try and get an idea of the services and layers that are hydrating it? I know I've personally done that more times than I'd care to, and it can be very frustrating and time-consuming. Wouldn't it be nice if you could have an inventory in say, an Excel spreadsheet, which could be automatically created and updated for you? Fortunately, The ArcGIS API for Python makes doing something like this possible with around 30 lines of code. Let's look at how we might go about creating a small script that queries a subset of Web Maps and updates an Excel workbook with URLs of all the operational and basemap layers in the web maps. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required