1,805 reputation
11134
bio website arabellasmusings.wordpress.co…
location South Africa
age 25
visits member for 2 years, 1 month
seen 2 days ago

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.


Mar
13
awarded  Yearling
Mar
6
awarded  Notable Question
Feb
24
comment Invert Clipping for Data Driven Pages
I think the OP can just set the Page Definition Query to not match the current page, so that arcpy would not need to be used as the question does not indicate a need for it based on the current information.
Feb
18
comment Why and How does copying and pasting a “problem” model with errors in it into a new empty model fix the model (ArcGIS, ModelBuilder)
I have mentioned this issue before in previous comments/answers, but anecdotally I can say that there doesn't seem to be an answer to this. After repeated use/changing parameters over a period of time, the model simply becomes what I like to call "tired". It was the final straw which pushed me into Python scripting completely.
Feb
17
comment Use 'if' statement in ModelBuilder to stop model
@Steve set the output of Get Count as the precondition to whichever tool you are wanting to get a true/false condition for.
Feb
14
comment Use 'if' statement in ModelBuilder to stop model
@Steve Regarding your first issue, that normally happens when the model gets "tired" i.e. you have been fiddling with it for a while. I know that's not really an explanation but in my experience that is what happens to models. For best results you will need to open a new model and set it up again like your old one. Also, the Get Count tool output can be used as true/false, without needing to write the conditional test.
Jan
31
comment SQL expression to python expression
Could you post your Python code so we can see where the actual problem is?
Jan
30
revised How to save geodatabase attachments to disk with updated exif data
Improved title to be clearer
Jan
30
answered How to save geodatabase attachments to disk with updated exif data
Jan
30
revised How to save geodatabase attachments to disk with updated exif data
Revised title
Jan
30
revised How to save geodatabase attachments to disk with updated exif data
added 287 characters in body
Jan
30
asked How to save geodatabase attachments to disk with updated exif data
Jan
21
awarded  Necromancer
Dec
13
awarded  Notable Question
Dec
5
comment How to call arcpy.RefreshActiveView() every 5 seconds using ArcGIS Python?
Your first code snippet is correct, but it is an infinite loop though. In your question you say you want it to run infinitely, but are you sure? Do you perhaps mean you want it to run for an extended period of time and then stop?
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