# Define the Site Location Feature Class siteloc = gp.GetParameterAsText[0]
siteloc = gp.GetParameterAsText(0)
#Process: Creates a FGDB to hold all the spatial layers fgdbName = "pls" fgdbPath = gp.workspace + "\\" + fgdbName + ".gdb" gp.CreateFileGDB_management(gp.workspace, fgdbName); showGpMessage() #Process: Define the path of a bunch of admin layers adminFC = root + "\\gis_layers\\admin.gdb\\admin" countyFC = root + "\\gis_layers\\county.gdb\\county" districtFC = root + "\\gis_layers\\district.gdb\\district" parcelFC = root + "\\gis_layers\\parcel.gdb\\parcel" regionFC = root + "\\gis_layers\\region.gdb\\region" #Process: unions everything together union1FC = fgdbPath + "\\union1" gp.Union_analysis(countyFC + ";" + regionFC + ";" + adminFC + ";" + districtFC + ";" + parcelFC, union1FC, "ALL", "", "GAPS"); showGpMessage()
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.