POST
|
Our fav spots make us somewhat neighbors. I'll be heading out that way in the Spring.
... View more
12-07-2020
10:34 AM
|
0
|
0
|
1118
|
POST
|
I have been working on exporting attachments from a point feature class by location (County). The export is renamed by the area (County), which contains the feature class, attachment table, and the relationship class, using this: import arcpy, os, datetime, traceback, sys
Start = datetime.datetime.now()
print ('Running Elevation Certificate by County Export ' + str(datetime.datetime.now()))
#Set Environmental Setting
arcpy.env.maintainAttachments = True
# Select County polygons and export to folder
DOMAIN_COUNTIES_TABLE = r"S:\Projects\CFI_Models\USNG_Demographics_Statewide\Domain_Counties.gdb\DOMAIN_COUNTIES"
DOMAIN_COUNTIES_Descript = "Descript"
DOMAIN_COUNTIES_CURSOR = arcpy.SearchCursor(DOMAIN_COUNTIES_TABLE)
for row in DOMAIN_COUNTIES_CURSOR:
COUNTIES_DESCRIPT = row.getValue(DOMAIN_COUNTIES_Descript)
#Feature Class to Geodatabase
infc = "T:\Projects\Elevation_Certificates\ECs_Hosted_20200929.gdb\ELEVATION_CERTIFICATES"
outgdb = "T:\Projects\Elevation_Certificates\ECs_Archive_by_County.gdb"
where_clause = "\"COUNTY_COMMUNITY\" = '%s' " %COUNTIES_DESCRIPT
print ("Exporting: " + '%s' %COUNTIES_DESCRIPT)
StartTime = datetime.datetime.now()
arcpy.FeatureClassToFeatureClass_conversion(infc, outgdb, "%s" %COUNTIES_DESCRIPT, where_clause)
EndTime = datetime.datetime.now()
DeltaTime = EndTime - StartTime
TimeDiff = str(DeltaTime)
print ('Process Time: ' + TimeDiff)
print ('Completed County Feature Class Export ' + str(datetime.datetime.now()))
End = datetime.datetime.now()
Delta = End - Start
Time = str(Delta)
print ('Process Time: ' + Time) This yields everything I need but loses the relationship. Any ideas how to rebuild this relationship or how to successfully export the data that carries the relationship class? Thanks, Daniel
... View more
10-23-2020
09:20 AM
|
0
|
0
|
293
|
POST
|
Greetings everyone, Daniel Rydl, GIS Tech for the Florida Division of Emergency Management 's (FDEM) State Emergency Response Team, (SERT). Blue Sky (hey, nothing is wrong right now stuff) roles pertain to managing our geographic datasets, services, ad hoc mapping and analysis requests across the Division, etc. Gray Sky (oh heck, things are going to go from bad to worse soon) role is to support operations pertaining to disaster preparedness, response, and recovery. What GIS success have you had this year and what product did you use? (big or small - no win is out of bounds) Moving legacy templates over to Pro. Designing and implementing vector tile base maps. Bringing Hazus instructors to FDEM to teach customized Florida specific courses this spring (Hazus is FEMA's disaster modelling package built on ArcGIS architecture), and lots of other cool stuff. (Let me know if you have interest in these classes) What is your expertise (GIS related or not), and how can that help the community? Oh gosh, Hazus definitely. How it can be used in ramp up to a landfalling storm, implementing specific critical facility and property valuation data into Hazus as opposed to the out of the box datasets for a more complete analysis. Using ArcGIS online to convey the message internally and publicly. If it has a spatial component and is derived from data found in the 4 phases of EM, then yeah... Look forward to becoming more active in this community. Thanks! Daniel Fav Place? 41°55'13.82"N 103°27'14.11"W #GBR
... View more
02-05-2019
01:28 PM
|
1
|
1
|
1069
|
Title | Kudos | Posted |
---|---|---|
1 | 02-05-2019 01:28 PM |
Online Status |
Offline
|
Date Last Visited |
12-15-2023
02:47 PM
|