Exercise 4 Editing and Data Management - USFWS ? Exercise 4 Editing and Data Management in ArcGIS

  • Published on
    08-Sep-2018

  • View
    212

  • Download
    0

Transcript

Exercise4EditingandDataManagementinArcGISProAswithArcGISDesktop,ArcGISProallowsyoutocreateandmodifyyourgeographicdata.EditinginArcGISProismorestreamlined,andintuitivethanitisinArcGISDesktop.TheArcGISProcontextualtabsusingMicrosoftribbontechnologytakessomeoftheguessworkoutofyoureditingworkflows.ThesetabscontainmanyofthecommoneditingtoolsfromArcMapinoneribbonratherthanmultipleeditingtoolbars.ArcGISProalsoprovidescontextualmenusthatcanbeusedwhileeditingsimilartotheworkflowsyouhaveusedinArcGISDesktop.InthisexerciseyouaregoingtoexploretheeditingenvironmentinArcGISPro.YouwilluseArcGISProtocreateandmodifyfeaturesandattributes,modifyageodatabasetableschemaandcreateattributebehaviorpropertiesinageodatabase.Topicscovered: ArcGISProeditingenvironment EditingFeatures Snapping Creatinganewfeatureclass CreatingDomainsandSubtypes EditingAttributes CreatingandmodifyingfeaturesExercise2A:DesigningaschemaInArcGISPro,youcanadd,fieldstoatable,createnewfeatureclasses,domains,andusesubtypestocategorizeyourdata.InArcGISPro,environmentscalledDesignersallowyoutoperformthesetasks.TheconceptsofschemaeditingarethesameasArcMap,onlythemethodsyouwillusehavechanges.Subtypesarestillafeatureclassproperty,anddomainsarestillageodatabaseproperty,buttheyarecreatedinadifferentlocationsinArcGISPro.Step1:BegintheprojectInthisexercise,youaregoingtomanagethedatanecessarytocreateanewfenceboundary.1. OpenArcGISPro2. Createanew,blankprojectnamedExercise43. Savetheprojectinlocation:C:\Esri\ArcGISPro\Projects4. OntheAnalysistab,clickToolstoopentheGeoprocessingtab5. Inthesearchbox,searchforthetermCopy6. ClicktheCopytooltocopytheExercise1()geodatabase.SettheParameters: InputData:C:\Esri\ArcGISPro\Data\Exercise1.gdb OutputDataElement:C:\Esri\ArcGISPro\OutputsExercise4A.gdbYouwillbeimportinganMXDthatusesthisoutputworkspacesomakecertainthenameandoutputfolderarecorrect.7. WhentheCopyfinishesclosetheGeoprocessingPane.8. OpentheProjectPane.RightclickFolders,andthenclickAddFolderConnection.9. IntheAddFolderConnection,browsetoC:\EsriandselecttheArcGISProfolder.10. ClickSelecttoaddthefoldertoyourproject.11. IntheProjectPane,expandFolders>ArcGISPro>Outputs12. YournewExercise4Ageodatabaseshouldbepresentinthisfolder.13. RightclickontheExercise4Ageodatabaseandthenselect+AddtoProject14. IntheDatabasestaboftheProjectPane,youshouldnowseetheExercise4Ageodatabase.15. OntheArcGISProInserttab,clickImportMap,thenbrowsetoC:\Esri\ArcGISPro\Maps16. SelectExercise4A.mxd,andthenclickSelect.Step2:CreatingaFeatureClassNowthatyouhaveimportedtheexistingmapintoArcGISPro,youwillcreateanewfeatureclassandthenmodifyitsschema.Lateryouwilladdsomefeaturesandupdateattributes.Themaintaskyouwillbeperformingistoaddanewfencetothearea.Beforecreatingfeature,youwillcreatethefeatureclass.1. OntheAnalysistab,clicktheToolsicontoopentheGeoprocessingPane.2. SearchforCreateFeatureClasstool.3. ClicktheCreateFeatureClasstoolandcreateanewfeatureclassusingthefollowingparameters: FeatureClassLocation:C:\Esri\ArcGISPro\Outputs\Exercise4A.gdb FeatureClassName:TempFences GeometryType:Polyline TemplateFeatureClass:ExistingFences CoordinateSystem:Projected>World>WGS1984WebMercator(auxiliarysphere)Thenewfeatureclasshasbeenaddedtothegeodatabaseandtothemapasanewlayer.Thenewlayeriscurrentlyemptybutcontainstheattributesfromthefencelayer.Next,youaregoingtomodifytheschematoremoveunnecessaryfields.4. OpentheFieldDesignerfortheTempFenceslayer(fromtheProjectpane,rightclicktheTempFencesfeatureclassintheExercise4A.gdb,thenclickDesign>Fields.5. IntheFields:TempFencespanel,selecttheNotes,Data_Source,FENCE,andCODEfields.6. ClicktheDeletebuttonontheFieldstab.7. ThefieldsarenowmarkedfordeletionbuttheyarenotactuallyremovedfromthetableuntilyouSavetheMapDocument.8. OntheFieldstab,clicktheSavebutton.9. OntheFieldstab,clickNewFieldtoaddafieldnamedFENCE_MATERIALasashortinteger.10. AddanotherFieldnamedTYPEasastring100charactersinLength.11. Finally,addonemorefieldnamedDESCRIPTIONasastring100charactersinlength.12. OntheFieldstab,clickSavetoaddthenewfieldstothetable.ClosetheFields:TempFencestab.Youhavenowsuccessfullycreatedafeatureclass,deletedandaddedadditionalfieldstothetable.Yourtable shouldlooksimilarto thegraphicbelow:Step3:ApplyingaDomaintoanewFeatureClassYouwanttocreateandapplyanattributedomaintotheTempFencesfeatureclasstoaidindataentry.Youwillcreatethedomain,thenapplyittothefeatureclass.DomainsarethepropertyofaGeodatabasesoyouwillstartwithyourExercise4A.gdb.ThisgeodatabasealreadycontainsnumerousdomainsthatwerecreatedwiththeUSGSNHDdatathatiscontainintheExercisegeodatabase.1. IntheProjectpane,rightclicktheExercise4AgeodatabasethenclickDesign>Domains.2. OntheDomainstab,clickNewDomain.3. NametheDomainFENCE_TYPES,andusetheFieldtypeText.4. IntheCodeValueportionortheDomains:Exercise4ATab,enterthefollowingcode/valuepairs: 1Boundary 2Cliff 3Road 4Stream 5Unknown 6Parking 7Entrance5. ClickSaveontheDomainstabtosavethedomainyoucreated.ClosetheDomains:Exercise4Atab.6. Next,rightclicktheExercise4A.gdbgeodatabaseintheProjectpane,thenclickRefresh.7. RightclicktheTempFenceFeatureClass,andthenclickDesign>Fields.8. UndertheDomaincolumnontheFields:TempFencestab,assigntheFENCE_TYPESdomaintotheTYPEField.9. ClickSaveontheFieldstabtosavetheDomainAssignment.Inthenextstep,youwillcreateasubtypethatwillcategorizetheTempFenceslayerbytheirmaterial.Step4:Creatingsubtypes1. RightclicktheTempFencesfeatureclassintheProjecttab,andthenselectDesign>Fields2. ClickSubtypesbuttonontheFieldstab.,thenclickCreate/Manage3. CreateanewsubtypefortheFence_MaterialfieldusingthefollowingvaluesintheManageSubtypesdialog:4. ClickOKontheManageSubtypesdialogwindow,thenclickSaveontheSubtypestabtoapplythechanges.5. ClosetheSubtypesandFieldsDesignertabs.6. Ifnecessary,removetheTempFenceslayer,andthenaddittothemapagain.ThetempFenceslayernowdisplayswiththesubtypesasatemplateintheContentspane.ThetempFenceslayerdoesnotcontainanyfeatures,butwhenyouedityoucanchosewhatsubtypetoadd.Anyfeatureyouaddwillautomaticallyinheritdefaultvaluesfromthesubtype.7. BesuretoSaveyourprojectandkeepArcGISProopen.EditingfeaturesandattributesWhenyouareeditinginArcMap,theinterfacetendstogetclutteredwithnumeroustoolbarsthatarerequiredforediting.InArcGISPro,thesameeditingoptionsthatexistinArcMapareavailableinamoreorganized,cleanerribboninterface.AlleditingoperationsareperformedontheEdittab,incontextmenusandontoolbars,andinvariouseditingspecificpanes.FeaturetemplatesinArcGISProsetthepropertiesthatcontrolthewaylayersareedited.Foreachfeaturetemplate,youcanselectadefaulttoolandsymbol,andsetthedefaultattributesforthatlayer.Whenafeatureisadded,attributeswillautomaticallyupdate.Oneormorefeaturetemplatecanbeconfiguredforthesamelayer.Generally,featuretemplatesareusedtocreatefeatureswithstandardattributesoruniquevaluesymbology.Forexample,differentfeaturetemplatescanbeusedforcreatingwetlandpolygonsonalayerthatusesuniquevaluesymbologyforwetlandtypeslikemarsh,lake,pond,riverine,emergentwetlandetc.ArcGISProalsoprovidestemplatescalledGroupfeaturetemplates.Groupfeaturetemplatesrefertoexistingfeaturetemplates,andcancreatemultiplefeaturesononeormorelayersinasingletaskedbasedoperation.Forexampleyoucandrawawatermainfeatureandafitting,gatevalve,andmeterallatthesametime.EditingBasicsandGroupfeaturetemplatesArcGISProallowseditingtaskswiththefollowingtraits: TheEditribboncontainsmostfunctionality TheEditsessionisthedefaultsession,inotherwordseditingisalwaysonforalleditablelayers,youneverneedtostart/stopeditingorspecifytheedittarget. Snappingisactivatedbyabuttonatthebottomofthemapdisplay(notatoolbar).Yousetsnappingoptionswiththebutton. TheCreatepanecontainsallfeaturetemplatesandtoolsforfeaturecreation. Editscanbesavedordiscardedeithermanuallyorautomatically. Youcanusegroupfeaturetemplatestocreatefeaturesinmanylayersatonetime.Exercise2B:EditingfeaturesandattributesNowthatyouhavemodifiedtheschemafortheTempFenceslayer,youwilluseeditingtoolstocorrectanerrorintheWetlandlayerandaddafence.ThenewfenceisintendedtohelpmanagetheareasaroundtheparkinglotattheWoodpeckertrailhead.Inthisexercise,youwillperformthefollowingtasks: SetSnapping. Createandmodifysimplefeatures EditattributesStep1:EdittheWetlandslayerThewetlandslayerinyourmapwasobtainedfromdownloadablesources,forthisworkshop,wearenotfollowinganyAgencyguidelinesandsimplytreatingthiscontentashypotheticaldatathatwecaneditasweseefit.Forthisexample,thewetlandspolygonsaroundtheWoodpeckertrailareincorrectandneedtobemerged.TherearetwoFreshwaterForested/Shrubwetlandsthatshouldactuallybeconnectedinasinglefeaturethatcoverstheareabetweenthetwooriginalpolygons.1. IntheContentspane,rightclicktheTrailslayerandthenclickZoomtoLayer.2. RightClickEdittabontheArcGISProribbonandmadesurethatMinimizetheRibbonisunchecked(rightclickontheEdittab).ThiswillallowtheEdittabtostayopenuntilyoumovetoadifferenttab.3. OntheContentspane,clickon theListbySelectionicon.4. RightclicktheWetlandslayerandthenclickMakethistheonlyselectablelayer.5. OntheEdittab,usetheSelectRectangletooltoselectthePolygonontheNorthernsideoftheWoodpeckertrail.6. UsetheReshapetooltoextendthepolygontooverlapthewetlandpolygononthesouthernsideofthetrail.7. DoubleclicktofinishtheReshapetoolinputandreshapethepolygon8. UsingtheSelecttoolwhilethereshapedpolygonisstillselected,selectthesouthernmostwetlandpolygonsoboth(nowoverlapping)polygonsareselected.9. ClicktheMergetoolontheEdittabtomergethetwoselectedpolygonsintoasinglefeature.10. WhentheModifyFeaturespaneopens,clickMergetorunthemergeprocessonthetwopolygons.YoushouldnowhaveasinglepolygoncoveringtheareaaroundtheWoodpeckertrail.11. ClickSaveontheEdittabtosavethechangesyouhavemadetothefeatures.Step2:Createanewtemporaryfenceusingmeasurements.AnewsectionoffenceisneededaroundtheparkinglotfortheWoodpeckertrailhead.Thefencelinesweresurveyedbyacrewtogetapprovaltobuildthefence.1. Ifnecessary,turnontheParkingandTempFenceslayers.2. IntheContentspane,selecttheParkinglayer,thenontheMaptab,clicktheSelectbyAttributesbutton.ThiswillopentheGeoprocessingtabontheSelectLayerByAttributetool.3. IntheGeoprocessingtab,usethefollowingparameterstoselectthedesiredparkinglot: LayerNameorTableView:Parking Selectiontype:NewSelection AddClause:Route_NameisEqualtoRattlesnakeHollowParking4. RuntheGeoprocessingtool,andthenclosetheGeoprocessingpane.5. RightclicktheParkinglayer,andthenclickSelection>ZoomtoSelection.Youmayneedtozoombackouttoaslightlylargerarea(scale=1:1,000)6. ClicktheSnappingbuttonatthebottomofthemapandmakeEdgesnappingtheonlyselectedsnappingoption.7. FromtheEdittab,clicktheCreatebuttontoopentheCreateFeaturespane.8. IntheCreateFeaturespane,clicktheBarbedWiresubtype,thenclicktherightarrow.9. ThearrowtakesyoutotheAttributesformforthesubtypeyouarecreating.10. ForDESCRIPTION,enterRattlesnakeHollowParkingLot11. ClickthearrowintheUpperleftcorneroftheCreateFeaturespanetoclosetheActiveTemplate.12. ChoosetheLineconstructiontooltocreateafeatureintheBarbedWiresubtype.13. Addastartpointforthenewfencelineusingthefollowingcoordinates.WiththeLinetoolselected,rightclickonthemapandselectAbsoluteX,Y,Z14. Usethefollowingcoordinates: X:9770750 Y:4369655Thelineisstartedwithavertexpositionedatthecoordinatesyouentered.Nowusingthesurveymeasurements.15. Next,addavertexusingtheDirectionandDistanceinputwiththefollowingmeasurements: N133708E9316. Next,hoveryourcursoroverthenorthernlineoftheParkinglotandthenrightclickandselectParallel,movingyourcursor,youwillseethelineinputisfixedtoparalleltotheParkinglotline17. RightclickagainandselectDistance Useadistancevalueof8718. RightclickthemapandthenselectDirectionandDistance.ChangetheDirectiontypetoPforPolar.Enterthefollowingvalues: 256352011019. Doubleclickthelinetofinishthesketch.20. OntheContentspane,doubleclicktheBarbedwiresubtypesymboltoopentheSymbologypane.21. SetthelinetoBurntUmbercolor(onSymbology>Propertiestab),Dashed6:6(onSymbology>Gallery),andthelinewidthto2.22. SaveyoureditsandSaveyourProject.23. Whencompletedyourmapshouldlooklikethefollowinggraphic:Step3:Updatetheattributesofthenewfence1. Selectthefencelineyoujustcreatedifitisnotalreadyselected.2. OntheEdittab,selectAttributestoopentheAttributespane3. ClickintheTYPEfieldinputboxtoactivatetheDomainpulldownlist.SelectParkingfromthelist.4. ClickSaveontheEdittabtosaveyourwork.Step4:CreateanewfeaturebytracingThetrailyouwanttoaddwasbuilttoseparatetrailusersfromthelakeshorelinearoundthelengthoftheWoodpeckertrail.Thefencerunsparalleltothetrailandoffsetby60feet.1. FromtheContentspane,rightclicktheTrailslayerandselectZoomToLayer.2. OntheEdittab,clickCreatetoopentheCreateFeaturespane.3. IntheTempFenceslayer>SplitRailsubtypeenterthefollowingattributessotheyareupdatedautomaticallywhenyouaddthenewfence: FENCE_MATERIAL:SplitRail TYPE:Boundary DESCRIPTION:Fenceseparatingtrailfromwetlands4. CreateanewSplitRailfencebytracingthesouthsideofthetrailwitha60footoffset.TheTracetooldoesnotrequireyoutoselectthefeaturebeforeyoutraceit.1. SelecttheTracetool,thenclickOonyourkeyboardtoaccesstoTraceOptionsdialogbox.2. SetanOffsetof60feet.3. OntheOptionsdialogboxes,alsoselectcheckontheoptiontoRemoveselfintersectingloops.4. StartingattheTrailhead,begintracingthetrialalongthesouthedge,allthewayaroundthetrainuntilyoufinishnearthetrailhead.5. Tracecounterclockwiseallthewayaroundthetrailandfinishatthejunctionwherethetrailclosesnearthetrailhead.6. Doubleclicktofinishthesketch.7. OncetheSplitRailfencelineiscomplete,thereisanareawherethe60footoffsetextendedthefenceintoalake/pondonthenorthsideofthetrail.8. Tofixthisoverlap,youwillusetheReshapetoolwiththetracetooltofollowtheshorelinewheretheoverlapexists.9. WiththeReshapetoolactive,clickonthesplitrailfencelineyoujustcreated.Thiswillselectthefeatureinreshapemode.10. Fromthepopuptoolsmenu,selecttheTracetool.11. PresstheOkeytoopentheTraceTooloptions.UnchecktheTracewithOffsetoption.TheReshapetoolrequiresthatyouintersectalinefeatureintwoplaces,everythingyoudrawbetweenthetwopointsofintersectwillreplacedtheexistingsketch.12. ClickthecursoronthelinebetweenthetwowetlandspolygonsontheoutsideoftheSplitrailfenceline,thentracetoanareaoutsidetheSplitraillineontheothersideoftheoverlap(startatpointA,thentracetopointB).AB13. DoubleclickthecursortofinishtheReshapeoperation.14. Yourlineshouldnowappearasshownbelow:15. Saveyouredits.Forthelasteditstep,youneedtoupdateanattributeforbothofthefencelinesyouhaveadded.YouhaveseveraloptionsforeditingattributesincludingusingtheAttributepane,orcalculatingfieldsinanattributetable.1. RightclickthetempFenceslayerintheContentspaneandthenclickSelection>SelectAll.2. OntheEdittab,clickontheAttributesbuttontoopentheAttributespane.YoushouldhavetwofencefeaturesselectedandshowingintheAttributespane.ThetopportionoftheAttributesPaneshowstheselectedfeatureslistedbyID.Ifyouselectanylistedfeature,youcanthenusetheAttributesfieldstoupdatevalues.ClickingontheFeatureClassnameintheAttributespaneallowsyoutoupdateattributesforalloftheselectedfeatures.3. ClickontheTempFencesfeatureclassintheAttributespane(nottheindividualfeatureids)4. IntheSOURCEfield,enter5foravalue.Inthisexercisethevalue5representsscreendigitizedsource.Youhavenowcreated,editedandupdatedattributesonafeatureinArcGISPro.ThetoolsusedinthisexerciseareonlyafewoftherobusttoolsetavailableinArcGISPro.EndExercise4