7,284 reputation
2282
bio website StephenLead.com
location Sydney
age
visits member for 3 years, 2 months
seen 20 hours ago

Aug
1
comment Comparing two shapefiles based on ID and spatial
PS try installing PythonWin from the ArcGIS DVD as it allows you to step through your code in debug mode, to see when the error occurs. I suspect you'll find that the error isn't being thrown by the SelectByLocation line, but by the UpdateCursor (or something else)
Aug
1
comment How to force ArcGIS to recognize a text field in a CSV file?
Thanks for that - it does the trick. There seems to be a problem with ArcGIS scanning the first 8 rows automatically, though.
Aug
1
accepted How to force ArcGIS to recognize a text field in a CSV file?
Aug
1
asked How to force ArcGIS to recognize a text field in a CSV file?
Jul
31
comment Comparing two shapefiles based on ID and spatial
you're using an UpdateCursor, which is an editing operation (requiring exclusive access to the table). Can you use a SearchCursor instead? Also, try closing any applications which are looking at the table (ArcCatalog, ArcMap, etc) as they may be locking it. If your script crashes, try closing and reopening Python to remove the lock.
Jul
31
comment how does a personal-gdb work from a MS Access perspective?
Sometimes, you need to get a project finished for a deadline, and using Access can be a reasonable method. Just be sure to have a backup of your geodatabase before you start messing around "under the hood". Spoken from painful experience...
Jul
31
comment Comparing two shapefiles based on ID and spatial
re "I know I shouldn't use arcpy tools in a Cursor", I don't think there's anything wrong with what you've done. The cursor simply allows you to iterate through the selected features - you can do what you need once you have a pointer to the record
Jul
31
answered Assigning unique Asset ID's
Jul
30
revised What free programs should every GIS user have installed?
added PythonWin
Jul
30
comment how does a personal-gdb work from a MS Access perspective?
I'd agree with that. If you try to play around with the pGDB in Access the chances are that you'll break something. Better to use the file geodatabase API if you need to make changes outside of ArcCatalog/ArcMap.
Jul
27
awarded  Nice Answer
Jul
27
comment Prevent drawing of overlapping point symbols - ArcGIS Server/Javascript API
I haven't tried this, but the MarkerSymbol specification contains both offset and angle properties. A PictureMarkerSymbol is a subclass of MarkerSymbol, so it might inherit these properties?
Jul
26
revised Prevent drawing of overlapping point symbols - ArcGIS Server/Javascript API
added clustering tag
Jul
26
answered Prevent drawing of overlapping point symbols - ArcGIS Server/Javascript API
Jul
26
comment Prevent drawing of overlapping point symbols - ArcGIS Server/Javascript API
in that case I think you should change the title and tags. ArcMap isn't really the determining factor here - it's only used to create the web mapping service
Jul
26
awarded  Excavator
Jul
26
answered Create toggle buttons to activate individual query and identify tasks
Jul
26
revised Create toggle buttons to activate individual query and identify tasks
changed tags, moved comment to main posting
Jul
25
comment Prevent drawing of overlapping point symbols - ArcGIS Server/Javascript API
Where will the ArcGIS Server map service be displayed? In ArcMap, in a website (if so do you have an API in mind?), or mobile device, etc?
Jul
25
accepted “Dataset xxx does not exist or is not supported” using Table to Domain in Python