|
POST
|
I think you are looking for either the "Planarize Lines" or "Line Intersection" tool in the Advanced Editing toolbar. Only works in an edit session and the new geometry will be saved to the original FC upon saving your edits.
... View more
08-15-2013
11:34 AM
|
0
|
0
|
3346
|
|
POST
|
I could see a Spatial Anlayst solution using a line FC drawn from the point to the (?) summit and a eclidean distance raster eminating from the point. You would basically build a crosssection of elevations along the line (x axis = elev, y axis = distance along the line from the point). The questions then is at what distance along the line does the elevation of the mountain become greater than the elevation of a 10 degree vertical slope along the same line. Nothing out box for this as far as I know, but certainly doable... 1st step would be to build a cross section.
... View more
08-14-2013
04:36 PM
|
0
|
0
|
1448
|
|
POST
|
don't feel confident about giving it away Gotcha. Well, using a projected coordinate system seems to be a work around... You should contact ESRI support.
... View more
08-14-2013
11:33 AM
|
0
|
0
|
1518
|
|
POST
|
Can you post your point FC (should be small enough to post here, right?)?
... View more
08-14-2013
10:57 AM
|
0
|
0
|
5234
|
|
POST
|
I'm baffeled - what if you use a non-geographic coordinate sytem? Try projecting your points to something like Albers Equal Area Coinic and then try buffering (or maybe just try to specify Albers as the output Spatial ref in the envr variables). Do you get the same issue?
... View more
08-14-2013
10:55 AM
|
0
|
0
|
5234
|
|
POST
|
Hmmm... You didn't accidently set the analyis extent environment variable (http://resources.arcgis.com/en/help/main/10.1/index.html#/Output_Extent/001w00000009000000/)? Although I wouldn't think it would cut off the buffer like that, but maybe.
... View more
08-14-2013
10:38 AM
|
0
|
0
|
5234
|
|
POST
|
Looks like you are using a geographic projection. What are the lat/lng of some of the ones being cut off. Do the buffers extend into another hemisphere?
... View more
08-14-2013
10:10 AM
|
0
|
0
|
5235
|
|
POST
|
Woops - Sorry - reread your original post and I see you are already accounting for that (by using the 32-bit version)... Not sure what's wrong.
... View more
08-14-2013
10:06 AM
|
0
|
0
|
2760
|
|
POST
|
in a personal geodatabase... 64 bit python I assume you have the 64-bit background geoprocessing thing installed. If so, you must uninstall it if you want to use PGDB format. See "unsupported data types" in this help topic: http://resources.arcgis.com/en/help/main/10.1/index.html#//002100000040000000
... View more
08-14-2013
10:03 AM
|
0
|
0
|
2760
|
|
POST
|
If your final goal is to have a .kml file, just use the Layer To Kml tool: http://resources.arcgis.com/en/help/main/10.1/index.html#//00120000004n000000 I think this standard tool has been avalable since v9.3.
... View more
08-13-2013
09:54 AM
|
0
|
0
|
3822
|
|
POST
|
Woops - good catch. My code should be: updateRow[1] = lutDict[nameValue][0] updateRow[2] = lutDict[nameValue][1] I fixed it in my original above. Anyway - dictionaries are great. I do all my fancy SQL-like stuff in them now... especially now with 64-bit arcpy. Data tables have kazillions records? No problem and crazy fast!!! No need for fancy RDBMs...
... View more
08-12-2013
12:26 PM
|
0
|
0
|
5876
|
|
POST
|
I'm a bit confused if this topic is: A. Attempting to join fields to a main table from a look up table(s). B. Attempting to append records to a main table from some other table(s). I think it's A, but if it is B, I will add this: http://forums.arcgis.com/threads/66434-A-better-way-to-run-large-Append-Merge-jobs
... View more
08-12-2013
09:34 AM
|
0
|
0
|
5876
|
|
POST
|
I'll go with the append. Don't! Going the Python route (reading the join tables(s) into a dictionary using a search cursor and then updating the main table via an update cursor is by far the fastest method. This is true in v10.0 and below, but is especially true in v10.1+ using ethe data access cursors. In addition to faster processing, this method is far more flexible in that allows for all sorts of error handeling and whatnot through conditional expressions. For example, say you want to get the fields "ADDRESS" and "CITY" into the main table (key field being "NAME"): #UNTESTED! lutTbl = r"C:\temp\test.gdb\lookuptable" mainTbl = "r"C:\temp\test.gdb\maintable" lutDict= dict([(r[0], (r[1], r[2])) for r in arcpy.da.SearchCursor(lutTbl, ["NAME","ADDRESS","CITY")]) arcpy.AddField_managment(mainTbl, "ADDRESS", "TEXT", "", "", "75") arcpy.AddField_managment(mainTbl, "CITY", "TEXT", "", "", "30") updateRows = arcpy.da.UpdateCursor(mainTbl, ["NAME","ADDRESS","CITY"]) for updateRow in updateRows: nameValue = updateRow[0] if nameValue in lutDict: updateRow[1] = lutDict[nameValue][0] #Address updateRow[2] = lutDict[nameValue][1] #City else: print "Could not locate address/city info for " + str(nameValue) updateRows.updateRow(updateRow) del updateRow, updateRows
... View more
08-12-2013
08:38 AM
|
0
|
0
|
5876
|
|
POST
|
This ***untested*** code should give you a list of the unique Ids (I assume you want to use the OBJECTID field), that represent the most recent test date for each occurance of HydrId. You could then load this list of OIDs (latestTestOidList in the code below) into a SQL query. hydrantDict = {}
searchRows = arcpy.da.SearchCursor(hydrantTable, ["OID@","TestDate","HydrID"])
for searchRow in searchRows:
oidValue, testDate, hydrantId = searchRow
if hydrantId not in hydrantDict:
hydrantDict[hydrantId] = [(testDate, oidValue)]
else:
hydrantDict[hydrantId].append((testDate, oidValue))
del searchRow, searchRows
latestTestOidList = [sorted(dict[hydrantId], reverse=True)[0][1] for hydrantId in hydrantDict]
... View more
08-08-2013
10:13 AM
|
0
|
0
|
1587
|
|
POST
|
Also, by "shapefile" I think you mean ArcSDE featureclass, right?
... View more
08-08-2013
09:22 AM
|
0
|
0
|
2414
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-25-2014 12:57 PM | |
| 1 | 08-29-2024 08:23 AM | |
| 1 | 08-29-2024 08:21 AM | |
| 1 | 02-13-2012 09:06 AM | |
| 2 | 10-05-2010 07:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-30-2024
12:25 AM
|