Exercise 4 Editing and Data Management - USFWS ?· Exercise 4 – Editing and Data Management in ArcGIS…

  • Published on
    09-Sep-2018

  • View
    212

  • Download
    0

Transcript

  • Exercise4EditingandDataManagementinArcGISPro

    AswithArcGISDesktop,ArcGISProallowsyoutocreateandmodifyyourgeographicdata.EditinginArcGISProismorestreamlined,andintuitivethanitisinArcGISDesktop.TheArcGISProcontextualtabsusingMicrosoftribbontechnologytakessomeoftheguessworkoutofyoureditingworkflows.ThesetabscontainmanyofthecommoneditingtoolsfromArcMapinoneribbonratherthanmultipleeditingtoolbars.

    ArcGISProalsoprovidescontextualmenusthatcanbeusedwhileeditingsimilartotheworkflowsyouhaveusedinArcGISDesktop.InthisexerciseyouaregoingtoexploretheeditingenvironmentinArcGISPro.YouwilluseArcGISProtocreateandmodifyfeaturesandattributes,modifyageodatabasetableschemaandcreateattributebehaviorpropertiesinageodatabase.

    Topicscovered:

    ArcGISProeditingenvironment EditingFeatures Snapping Creatinganewfeatureclass CreatingDomainsandSubtypes EditingAttributes Creatingandmodifyingfeatures

    Exercise2A: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,searchforthetermCopy

    6. ClicktheCopytooltocopytheExercise1()geodatabase.SettheParameters: InputData:C:\Esri\ArcGISPro\Data\Exercise1.gdb OutputDataElement:C:\Esri\ArcGISPro\OutputsExercise4A.gdb

    YouwillbeimportinganMXDthatusesthisoutputworkspacesomakecertainthenameandoutputfolderarecorrect.

  • 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. ClicktheCreateFeatureClasstoolandcreateanewfeatureclass

    usingthefollowingparameters: 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:TempFences

    tab.

    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 7Entrance

    5. ClickSaveontheDomainstabtosavethedomainyoucreated.ClosetheDomains:Exercise4A

    tab.6. Next,rightclicktheExercise4A.gdbgeodatabaseintheProjectpane,thenclickRefresh.7. RightclicktheTempFenceFeatureClass,andthenclickDesign>Fields.8. UndertheDomaincolumnontheFields:TempFencestab,assigntheFENCE_TYPESdomainto

    theTYPEField.

    9. ClickSaveontheFieldstabtosavetheDomainAssignment.

  • Inthenextstep,youwillcreateasubtypethatwillcategorizetheTempFenceslayerbytheirmaterial.

    Step4:Creatingsubtypes1. RightclicktheTempFencesfeatureclassintheProjecttab,andthenselectDesign>Fields2. ClickSubtypesbuttonontheFieldstab.,thenclickCreate/Manage

    3. 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,inotherwordseditingisalwaysonforalleditable

    layers,youneverneedtostart/stopeditingorspecifytheedittarget. Snappingisactivatedbyabuttonatthebottomofthemapdisplay(notatoolbar).Youset

    snappingoptionswiththebutton.

    TheCreatepanecontainsallfeaturetemplatesandtoolsforfeaturecreation. Editscanbesavedordiscardedeithermanuallyorautomatically. Youcanusegroupfeaturetemplatestocreatefeaturesinmanylayersatonetime.

  • Exercise2B:EditingfeaturesandattributesNowthatyouhavemodifiedtheschemafortheTempFenceslayer,youwilluseeditingtoolstocorrectanerrorintheWetlandlayerandaddafence.ThenewfenceisintendedtohelpmanagetheareasaroundtheparkinglotattheWoodpeckertrailhead.

    Inthisexercise,youwillperformthefollowingtasks:

    SetSnapping. Createandmodifysimplefeatures Editattributes

    Step1:EdittheWetlandslayerThewetlandslayerinyourmapwasobtainedfromdownloadablesources,forthisworkshop,wearenotfollowinganyAgencyguidelinesandsimplytreatingthiscontentashypotheticaldatathatwecaneditasweseefit.Forthisexample,thewetlandspolygonsaroundtheWoodpeckertrailareincorrectandneedtobemerged.TherearetwoFreshwaterForested/Shrubwetlandsthatshouldactuallybeconnectedinasinglefeaturethatcoverstheareabetweenthetwooriginalpolygons.

    1. IntheContentspane,rightclicktheTrailslayerandthenclickZoomtoLayer.2. RightClickEdittabontheArcGISProribbonandmadesurethatMinimizetheRibbonis

    unchecked(rightclickontheEdittab).ThiswillallowtheEdittabtostayopenuntilyoumovetoadifferenttab.

    3. OntheContentspane,clickon theListbySelectionicon.

    4. RightclicktheWetlandslayerandthenclickMakethistheonlyselectablelayer.

    5. OntheEdittab,usetheSelectRectangletooltoselectthePolygonontheNorthernsideoftheWoodpeckertrail.

  • 6. UsetheReshapetooltoextendthepolygontooverlapthewetlandpolygononthesouthernsideofthetrail.

    7. DoubleclicktofinishtheReshapetoolinputandreshapethepolygon8. UsingtheSelecttoolwhilethereshapedpolygonisstillselected,selectthesouthernmost

    wetlandpolygonsoboth(nowoverlapping)polygonsareselected.

    9. ClicktheMergetoolontheEdittabtomergethetwoselectedpolygonsintoasinglefeature.

  • 10. WhentheModifyFeaturespaneopens,clickMergetorunthemergeprocessonthetwopolygons.YoushouldnowhaveasinglepolygoncoveringtheareaaroundtheWoodpeckertrail.

    11. ClickSaveontheEdittabtosavethechangesyouhavemadetothefeatures.

    Step2:Createanewtemporaryfenceusingmeasurements.AnewsectionoffenceisneededaroundtheparkinglotfortheWoodpeckertrailhead.Thefencelinesweresurveyedbyacrewtogetapprovaltobuildthefence.

    1. Ifnecessary,turnontheParkingandTempFenceslayers.2. IntheContentspane,selecttheParkinglayer,thenontheMaptab,clicktheSelectby

    Attributesbutton.ThiswillopentheGeoprocessingtabontheSelectLayerByAttributetool.3. IntheGeoprocessingtab,usethefollowingparameterstoselectthedesiredparkinglot:

    LayerNameorTableView:Parking Selectiontype:NewSelection AddClause:Route_NameisEqualtoRattlesnakeHollowParking

    4. RuntheGeoprocessingtool,andthenclosetheGeoprocessingpane.5. RightclicktheParkinglayer,andthenclickSelection>ZoomtoSelection.Youmayneedto

    zoombackouttoaslightlylargerarea(scale=1:1,000)

    6. ClicktheSnappingbuttonatthebottomofthemapandmakeEdgesnappingtheonlyselected

    snappingoption.7. FromtheEdittab,clicktheCreatebuttontoopentheCreateFeaturespane.8. IntheCreateFeaturespane,clicktheBarbedWiresubtype,thenclicktherightarrow.

    9. ThearrowtakesyoutotheAttributesformforthesubtypeyouarecreating.10. ForDESCRIPTION,enterRattlesnakeHollowParkingLot

  • 11. ClickthearrowintheUpperleftcorneroftheCreateFeaturespanetoclosetheActiveTemplate.

    12. ChoosetheLineconstructiontooltocreateafeatureintheBarbedWiresubtype.

    13. Addastartpointforthenewfencelineusingthefollowingcoordinates.WiththeLinetoolselected,rightclickonthemapandselectAbsoluteX,Y,Z

    14. Usethefollowingcoordinates: X:9770750 Y:4369655

    Thelineisstartedwithavertexpositionedatthecoordinatesyouentered.Nowusingthesurveymeasurements.

    15. Next,addavertexusingtheDirectionandDistanceinputwiththefollowingmeasurements: N133708E93

    16. Next,hoveryourcursoroverthenorthernlineoftheParkinglotandthenrightclickandselectParallel,movingyourcursor,youwillseethelineinputisfixedtoparalleltotheParkinglotline

    17. RightclickagainandselectDistance Useadistancevalueof87

    18. RightclickthemapandthenselectDirectionandDistance.ChangetheDirectiontypetoPforPolar.Enterthefollowingvalues:

    256352011019. Doubleclickthelinetofinishthesketch.20. OntheContentspane,doubleclicktheBarbedwiresubtypesymboltoopentheSymbology

    pane.21. SetthelinetoBurntUmbercolor(onSymbology>Propertiestab),Dashed6:6(onSymbology>

    Gallery),andthelinewidthto2.22. SaveyoureditsandSaveyourProject.23. Whencompletedyourmapshouldlooklikethefollowinggraphic:

  • Step3:Updatetheattributesofthenewfence1. Selectthefencelineyoujustcreatedifitisnotalreadyselected.2. OntheEdittab,selectAttributestoopentheAttributespane

    3. ClickintheTYPEfieldinputboxtoactivatetheDomainpulldownlist.SelectParkingfromthelist.

    4. ClickSaveontheEdittabtosaveyourwork.

    Step4:CreateanewfeaturebytracingThetrailyouwanttoaddwasbuilttoseparatetrailusersfromthelakeshorelinearoundthelengthoftheWoodpeckertrail.Thefencerunsparalleltothetrailandoffsetby60feet.

    1. FromtheContentspane,rightclicktheTrailslayerandselectZoomToLayer.2. OntheEdittab,clickCreatetoopentheCreateFeaturespane.3. IntheTempFenceslayer>SplitRailsubtypeenterthefollowingattributessotheyareupdated

    automaticallywhenyouaddthenewfence: FENCE_MATERIAL:SplitRail TYPE:Boundary DESCRIPTION:Fenceseparatingtrailfromwetlands

    4. CreateanewSplitRailfencebytracingthesouthsideofthetrailwitha60footoffset.

    TheTracetooldoesnotrequireyoutoselectthefeaturebeforeyoutraceit.

    1. SelecttheTracetool,thenclickOonyourkeyboardtoaccesstoTraceOptionsdialogbox.2. SetanOffsetof60feet.3. OntheOptionsdialogboxes,alsoselectcheckontheoptiontoRemoveselfintersectingloops.4. StartingattheTrailhead,begintracingthetrialalongthesouthedge,allthewayaroundthe

    trainuntilyoufinishnearthetrailhead.5. Tracecounterclockwiseallthewayaroundthetrailandfinishatthejunctionwherethetrail

    closesnearthetrailhead.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).

    A

    B

  • 13. 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.Inthisexercisethevalue5representsscreendigitized

    source.

    Youhavenowcreated,editedandupdatedattributesonafeatureinArcGISPro.ThetoolsusedinthisexerciseareonlyafewoftherobusttoolsetavailableinArcGISPro.

  • EndExercise4

Recommended

View more >