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

  • Published on
    01-Jul-2019

  • View
    212

  • Download
    0

Embed Size (px)

Transcript

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