exercise 4 editing and data management - ?· exercise 4 – editing and data management in arcgis...

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

Post on 01-Jul-2019

215 views

Category:

Documents

0 download

Embed Size (px)

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.Youshouldnowhaveasinglepolygoncov