New answers tagged pdf
The method I finally settled on was Export the Layout to a GeoTiff via Composer Execute the gdal_translate command from the command line to convert the GeoTiff into GeoPDF. While not the most graceful, it does accomplish the task. I wrote the following Python wrapper to help automate the batch processing of a folder of outputs generated with the Atlas "...
You cannot change a layer's Symbology Type in arcpy, you can only read it, hence the line in your code that says if lyr.symbologyType=="GRADUATED_SYMBOLS": - it's checking that the layer Symbology Type is already Graduated Symbols. Therefore you need to already have set your layer to be Graduated Symbols, or imported that symbology type from another layer. ...
I've modified your code slightly to make it find the matching state in your Inset map and select it. I changed the arcpy.SearchCursor to be an arcpy.da.SearchCursor, and added another to get a dictionary of all states in the Inset for the Inset selection. As it loops through the different states, it finds them in the Inset layer and selects them using ...
I have been working on something similar. You can probably use the mapnik printing module for most of the things you need (scale, legend, etc.). You will probably have to tweak it a little bit to get the design you want. Have a look at render_legendand render_scalein particular. Here is the link to the module on GitHub: https://github.com/mapnik/python-...
The solution is to make sure that the parent object is an OCG and not a string. /Order [ 25 0 R [ 22 0 R 23 0 R 24 0 R ] 21 0 R ] and not /Order [ (mystring) [ 22 0 R 23 0 R 24 0 R ] 21 0 R ] So if you don't have a natural candidate you want to designate as the parent, you need to create an additional OCG with the name you want.
Why not try to add the attribute table from .dbf file, open it in Excel, create your table design, and in the end, add it in ArcGIS as an object?
Top 50 recent answers are included