2,678 reputation
1032
bio website fws.gov/southeast/rioloco
location Atlanta, GA
age 25
visits member for 2 years, 5 months
seen 18 mins ago

I'm a GIS Specialist with the US Fish and Wildlife Service in Atlanta, GA.

Latest Projects:

http://www.fws.gov/southeast/rioloco/ https://github.com/rhewitt22/RioLoco https://github.com/rhewitt22/FishSamplingScripts


May
7
comment How to copy a fgdb using Python?
arcpy.Copy_management(r"inPath", r"outPath") for the arcpy method (version 10 as opposed to 9.3)
May
4
comment Error when creating insert cursor in arcpy
Thanks -- I guess table to table would have worked here (these aren't feature classes, but related tables for a fc). Setting it up this way I felt that I had more control over field properties like type, length, default values, etc.
Apr
27
comment Combine aerial imagery pictures to create a layer
How many images are you working with?
Apr
26
comment Label inside top left corner of polygons
Very unfortunate indeed -- but it looks very powerful, I'm going to have to hop on that horse myself. Thank god for government licensing agreements.
Apr
25
comment Programatically write values to ArcPad Form control box
Thanks for the post, I'll give it a try -- Just to confirm the Controls("EMPLOYEE") represents the control name (Name field in control properties). I guess they've changed something along the way -- doesn't seem to work. Strangely, when I went back into the even handler to check the code, it was all greyed out?
Apr
25
comment How to convert from UTM Zone 36N Mercator to WGS 84 degrees of lat and long?
UTM zones are all projected coordinate systems, which is why your output is still in meters.
Apr
25
comment How to convert from UTM Zone 36N Mercator to WGS 84 degrees of lat and long?
Did you change the data-frame's coordinate system? And select the dataframe's coordinate system in the calculate geometry dialog box?
Apr
25
comment How to convert from UTM Zone 36N Mercator to WGS 84 degrees of lat and long?
The second part of my answer provides a method for getting decimal degrees in ArcMap. Once you add the two fields, you can calculate the LatLong for all 4000 points in one-feld-swoop using the Calculate Geometry method.
Apr
25
comment How to convert from UTM Zone 36N Mercator to WGS 84 degrees of lat and long?
Geographic coordinate systems use lat long (decimal degrees, degree minutes seconds, etc.) Which is why you need to change from projected (feet, meters, etc.) to geographic, but you know all of this.
Apr
25
comment How to convert from UTM Zone 36N Mercator to WGS 84 degrees of lat and long?
Make sure field type is DOUBLE if you go with the second route.
Apr
25
comment How to convert from UTM Zone 36N Mercator to WGS 84 degrees of lat and long?
Do you have the data in ArcMap?
Apr
25
comment Programatically write values to ArcPad Form control box
Limit to list doesn't appear to be an option in version 10.0.3 -- when you say boiler plate code generated by ArcPad, is ArcPad composing code for you? The code you have written for "Use like this," is that the function call (I'm much more comfortable with Python compared to VBS).
Apr
24
comment Programatically write values to ArcPad Form control box
It's a text field, but it has a domain (there is a preset list of names contained in a drop-down menu). I figured that I wouldn't be able to insert a NEW value, but one within the domain should work. I suppose that's a good question for the script's author.
Apr
24
comment Store global variables in ArcPad that store user information
Have you had any luck implementing the log-in form? I've gotten to the point where I can 'Alert' the user name back in a message box, but all my attempts to write the name in a control box have failed.
Apr
24
comment Adding a boolean yes/no field in Arcgis
Using the attribute domain will restrict user input to what you define ahead of time (in a handy pull-down menu). If you ever need to access it in code, you don't have to account for Y vs. Yes vs. yes vs. y.
Apr
23
comment Select Layer by Location Produces Empty Output in Python
I'm not sure if this would do anything either but the from arcpy import env statement might only allow you to access env settings. Try getting rid of that statement and changing your workspace to arcpy.env.workspace = "C:\\location". Are you getting any error message?
Apr
23
comment Select Layer by Location Produces Empty Output in Python
When you call arcpy.SelectLayerByLocation() you left in selection_type= too.
Apr
23
comment Select Layer by Location Produces Empty Output in Python
Is this script the result of exporting your model to .py?
Apr
23
comment Problem loading table in ArcMap
+1 does it open in excel?
Apr
20
comment Python Field Calculation
Please be more descriptive -- I don't follow the "at each change in county I need the column to start from 1 and progress..."