1,855 reputation
11337
bio website arabellasmusings.wordpress.co…
location South Africa
age 25
visits member for 2 years, 4 months
seen May 12 at 10:38

I have a Bachelor of Science in Applied Geoinformatics, with my main areas of study being Geography and Environmental Studies, GIS, Computer Science and Information Systems. I have always had a passion for computers and geography, so studying and working in the GIS field has given me the best of both worlds.

My questions/answers will be written in South African (UK) English - please do not "correct" my spelling.


Nov
25
comment data driven pages format
I have done this as well. As good practice now I normally use a "turned off" version of the layer as the ddp source, then anything with the labels, page definitions, symbology etc I set on a copy of the ddp layer (or two copies, depending on the project). I find it easier that way, so I know at a glance LOTS DDP is the ddp source while LOTS contains the actual visible features.
Nov
20
comment How to position callout bubble leader using maplex?
Agree with @johns. Where I have had Maplex issues with about 10% of my labels, I would either use 2 classes with SQL queries to include/exclude the problematic labels, or if there were few enough (less than 30), I would convert to annotation and position them manually. I would then use definition queries to turn them on/off as needed through Python.
Nov
19
comment How to Calculate fields for attribute table using Model Builder
Can you be a bit more specific - what are you trying to calculate in the fields?
Nov
18
comment How to get XY coordinates and field values for each row in a SearchCursor?
I like PolyGeo's answer, but I like yours a bit more as it's a bit more obvious especially for beginners.
Nov
15
answered How to automatically generate useful scales for data driven pages in ArcGIS desktop
Nov
14
comment How To Export Selected Data Driven Pages to PDF?
@RyanDalton +1 for the ESRI blog link, I used that post as my starting point for doing DDP in Python and it really helped me with many scripts doing various things.
Nov
13
comment Iterate Workspaces in Modelbuilder not executing all tools
I figured this is a bug in ModelBuilder, so I've long sinced moved to Python to do this sort of thing for me.
Nov
6
comment How to Receive an Email after a script has run?
Excellent, have been meaning to look into this as well.
Nov
6
comment Python If else statements
This sounds more like you want to set up subtypes and attribute domains. If you set up a subtype on field A, then using an attribute domain the dropdown list in Field B would change accordingly. This would ensure that if NI is chosen, Non Irrigated is automatically populated, else the dropdown list will appear.
Nov
1
comment Can't load layers into ArcGIS Viewer for Silverlight
Have you published a map service containing those layers?
Nov
1
asked Attribute information not showing in Silverlight viewer popup
Oct
30
comment Changing page orientation using data driven pages
I've learnt a lot since I've asked this question, so I did come to the conclusion that I would need two different templates. I ended up creating a python script to pull everything together for exporting.
Oct
30
comment Changing page orientation using data driven pages
@PolyGeo no it's not possible to set the page orientation as an attribute of the DDP.
Oct
25
comment ArcGIS modelbuilder: Iterate through Excel sheets?
Python might be better for this case, as it will handle it better.
Oct
17
comment How to assign values to field using if/then logic involving multiple fields?
The field names should be surrounded by ! not [. I think the OP has not changed the parser to Python in the Field Calculator.
Oct
17
comment issues with updating data source, script runs but nothing happens, arcpy
You don't need to save the mxd after each data source is replaced, rather save once the for loop has finished with the layers (shift mxd.save() four spaces back).
Oct
15
awarded  Notable Question
Oct
8
awarded  Popular Question
Oct
4
comment How to zoom to layer with page definition query set in arcpy?
@mittence That's not what I asked, I am referring specifically to zooming to the extent defined by a page definition query set by having data driven pages enabled. No features are actually selected, so using the normal getSelectedFeatures() method zooms to the extent of the entire layer.
Oct
4
comment Error with save path. Does not exist or is not supported
In your raster_dp.save() line, replace what you have in the brackets with os.path.join(path + parentdir,dir,str(dpRaster) + ".TIF"). It seems like you might be getting numeric values for dpRaster, in which case you cannot use string concatenation as you currently have it, the number needs to be cast to a string.