[GIS] Python and Data driven pages – Advanced use

arcgis-10.0arcpycartographydata-driven-pages

I need to make a number of maps where only one input changes (a layer with the range of a radio tower) and I want to add the layer, apply symbology, zoom to it, change the title to include the name of the tower and then export it as a pdf with the tower name.

Rather than adding the layers and applying symbology I can just put all the towers in a Group Layer and then the script can just turn all but one of them on, zoom, print and then turn it off and continue to the next tower.

One long way is using: Data Driven Pages –> Page Definition option in the Definition Query tab of a Layer's Properties and specifying this but I was wondering if there was an easier work around?

enter image description here

The issue with using Page Definitions is that some towers overlap and it means that I have to add in a column which will have have the tower name and signal strength repeatedly for each row. Given that we have more than 30 towers, even in a model this is laborious process that has to be then repeated when any base data changes.

Best Answer

I haven't played much with Data Driven Pages but if your tower ranges are all in the same feature class, you might be able to use Page Definition Queries to automatically display just one specific tower per page.

Related Question