|
POST
|
Hi, Depending on the number of categories you have, you could try making a unique field with your categories and make custom symbology to match and then symbolise by matching to style. For example: Temperature / Size / Category -20 to -10 / 0.25 / 1 -10 to 0 / 0.5 / 2 0 to 10 / 0.75 / 3 10 to 20 / 1.00 / 4 May be more time consuming, but will give you more control. Regards, Craig
... View more
01-08-2013
12:22 PM
|
0
|
0
|
2816
|
|
POST
|
Hi, Have a look at this thread. It may contain some ideas for you to try. http://forums.arcgis.com/threads/71291-Data-Driven-Pages-Need-to-prepend-field-to-file-name-when-exporting-individual-pngs?p=248979#post248979 Regards, Craig
... View more
12-12-2012
11:53 AM
|
0
|
0
|
697
|
|
POST
|
Hi, If you don't want to make a new feature class, why not start an edit session, do a query to select the relevant polygons and do a merge and save. Ensure you have a copy of your data before you try this!!!! Regards, Craig
... View more
11-22-2012
05:06 PM
|
0
|
0
|
1557
|
|
POST
|
Hi Colli, If you want the user to click on the state to open a URL, have you tried enabling the hyperlink option under properties for the layer? You can also export the PDF with attributes fields enabled. I assume that this might allow you to still access the URL. Regards, Craig
... View more
11-18-2012
12:30 PM
|
0
|
0
|
805
|
|
POST
|
Hi, Have a look at this thread. It may contain some ideas for you to try. http://forums.arcgis.com/threads/67143-How-to-adding-dynamic-text-from-an-attribute-field-to-Data-Driven-Pages?p=233611#post233611 Regards, Craig
... View more
11-13-2012
12:09 PM
|
0
|
0
|
651
|
|
POST
|
Hi stuskier, You will need to extrude your polygons by your attribute value in ArcScene and export as a 2D image. Regards, Craig
... View more
11-13-2012
12:02 PM
|
0
|
0
|
579
|
|
POST
|
Hi, Have you tried opening the two MXDs located at C:\Program Files (x86)\ArcGIS\Desktop10.1\plotters. I have attached (hope it worked) a PDF of the CMY_Calibrate.mxd which is sized at approximately 914mm x 609mm. Regards, Craig
... View more
10-21-2012
01:59 PM
|
0
|
0
|
833
|
|
POST
|
Hi, Is it possible to not only include an image but also text in the pop-ups? Regards, Craig
... View more
10-03-2012
02:37 PM
|
0
|
0
|
2383
|
|
POST
|
Hi Jonathon, I will investigate Page Definition Queries. They might work, but I need three FCs to react the same (set to same definition) and have about a dozen values in the relevant attribute field to try with. Thank you for advice. Regards, Craig
... View more
09-18-2012
03:40 PM
|
0
|
0
|
989
|
|
POST
|
Hi Jonathon, I have a layout with three sets of data with a common field. I have a script that will use the common field and create a definition query to display only the relevant value being iterated over. I was hoping for a method of adding the value being presented as dynamic text or through some other python (arcpy.mapping) process. Not using DDPs for this workflow. Regards, Craig
... View more
09-18-2012
02:59 PM
|
0
|
0
|
989
|
|
POST
|
Hi, Is it possible to get an attribute value and place it into dynamic text? I have a python script that iterates over an attribute field, and I would like to record the field value as dynamic text as my layout changes. Regards, Craig
... View more
09-18-2012
02:50 PM
|
0
|
0
|
989
|
|
POST
|
Hi Jeff, Would it be possible to modify your bookmarks script to reference individual FC tiles to make up a reference type index using a similar process? Regards, Craig
... View more
09-13-2012
10:01 PM
|
0
|
0
|
503
|
|
POST
|
Hi All, I was using a 3D symbol graphic for points and this was causing my part of my error when creating PDFs with ExportToPDF using the layers_attributes feature. I removed the graphics and also ungrouped my datasets. Point datasets are now providing attribute information, but polygon and polylines are not. Something to chase up with tech support. Regards, Craig
... View more
09-12-2012
03:55 PM
|
0
|
0
|
1497
|
|
POST
|
Hi Jeff, Script works a treat. Exported several pages based on variable. I then got adventurous and tried modifying it slightly to export all layers and attributes as well: arcpy.mapping.ExportToPDF(mxd, r"C:\Temp" + "\\" + value + ".pdf", layers_attributes="LAYERS_AND_ATTRIBUTES") This didn't result in the output PDFs having layers or attributes exported. I tested against the internal export function within ArcGIS 10.1 and it also didn't export layers or attributes. It seems that my mxd is exporting all of my point, polyline and polygon datasets as an image? Is this a bug as it seems to work ok with other MXDs I have? Also, now seeing a functioning script, I had a thought about adding a form of dynamic text to the map that represents the value being examined or references a value from another field related to the iterated value (e.g. iterated value in field 1 = a, dynamic text would read 'a' or if field1 = a = field2 = 'Site A', text would read 'Site A'). Is this possible? Regards, Craig
... View more
09-11-2012
04:45 PM
|
0
|
0
|
1497
|
|
POST
|
Hi Jeff, I have had a try at getting a python script together to do what I want. I had a play and was able to mimic the type of response I wanted to acheive, so I have tried to automate it into a script, but I am missing something in the process. Can you see any obvious mistakes I am making. 1) I want to access MXD 2) Create a denition query on a specified field 3) Output results to PDF pages for each value iteration value sourced from the attribute field (unique values identified and sorted) import arcpy
fc = r"D:\test.gdb\srcR" # FC with field of interest
field = "Abbr" # Field of interest
values = [row[0] for row in arcpy.da.SearchCursor(fc, (field))]
uniqueValues = sorted(set(values))
i = iter(uniqueValues)
value = i.next()
for value in uniqueValues:
queryStr = 'str(field)' + "=" + 'str(value)'
mxd = arcpy.mapping.MapDocument(r"D:\test.mxd") # MXD to analyse
df = arcpy.mapping.ListDataFrames(mxd, "Regional")[0]
for lyr in arcpy.mapping.ListLayers(mxd, "Regional", df)[0]:
if lyr.name == r"D:\test.gdb\srcR" or lyr.name == r"D:\test.gdb\srcM" or lyr.name == r"D:\test.gdb\srcC": # Three FC with common field that definition query wll apply to
lyr.definitionQuery = queryStr
arcpy.RefreshActiveView()
arcpy.mapping.ExportToPDF(mxd, r"D:\Temp\value.pdf") # Output individual PDF pages
value = i.next()
del mxd Regards, Craig
... View more
09-10-2012
10:02 PM
|
0
|
0
|
1497
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-22-2014 03:26 PM | |
| 1 | 11-03-2022 03:28 PM | |
| 1 | 05-24-2021 05:01 PM | |
| 1 | 12-02-2019 02:46 PM | |
| 2 | 11-01-2020 07:20 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2025
09:55 PM
|