Animation in ArcMap
-
Upload
jose-cuadros-loayza -
Category
Documents
-
view
214 -
download
0
Transcript of Animation in ArcMap
-
7/23/2019 Animation in ArcMap
1/10
ESRI1
LearningtoWorkwithTemporalDatainArcGIS
Animation
in
ArcMap
Objective
AnimationscanbecreatedinArcMap,ArcSceneorArcGlobe.Animationsallowyoutoeffectively
visualizeand
analyze
your
data
by
changing
display
properties
of
layers,
the
camera,
or
the
map
extent.
Byalteringlayerproperties,suchasthetimeslicethatisdisplayedorlayervisibilityandtransparency,
youcancreateinterestinganimationsthatcanbeusedtoanalyzedatathroughtimeortoview
informationinvariouslayers.Byalteringtheextent(ArcMap)orthecameraposition(ArcSceneor
ArcGlobe),youcancreateananimationthatmovesaroundamap,sceneorglobe.
Inthistutorial,youlllearnhowtocreateananimationthatshowslayerattributeschangingwithtimein
thedisplayandinagraph.Thestepsinthistutorialcanbeappliedtoanysupporteddatatype(feature
class,rastercatalog,NetCDF)andasaguidewhenanimatingyourownlayersortablesthroughtime.
TimelayeranimationscanbecreatedinthesamewayinArcSceneandArcGlobe,soyoucananimate
yourlayersthroughtimeinthoseapplicationsaswell.
Locating
data
and
map
documents
Datafolder: TDinArcGIS\Exercise1\Data
Featureclasses:PopulationData.gdb\County_Population,PopulationData.gdb\State_Population
Backgrounddata:BackgroundData.gdb
Mapdocuments:Population_Change_Start.mxd,Population_Change_Final.mxd
Videofile:Population_Change.avi
A:ViewinganAnimation
Inthisexercise,youllanimatefeatureclasslayerstoexaminepopulationchange.Youllopenanexisting
mapdocumentcontainingananimationandplayit.Youllexaminechangesinrecordedcountyand
statepopulationfiguresovertimeforanumberofstatesintheUSA,fromtheyear1800totheyear
2000.Youll
examine
county
population
data
in
the
ArcMap
display
and
state
population
data
in
agraph.
InexercisesBandC,youllcreatetheanimationfromscratchtolearnthesequenceofstepsthatare
involved.
A1:Openinganexistingmapdocument
1. StartArcMapbyusingtheProgramslistonyourStartmenu.
2. IftheArcMapstartupdialogboxappears,checkAnexistingmap,thendoubleclickBrowsefor
maps.IfyoupreviouslycheckedDonotshowthisdialogagainontheArcMapstartupdialogbox,
openthemapdocumentbyclickingOpeninstead.
3. NavigatetotheTDinArcGIS\Exercise1\Datafolderonyourlocaldrive,click
population_Change_Final.mxd,thenclickOpen.Amapofpopulationfigurespercountyandagraph
displayingpopulation
figures
by
state
are
displayed.
A2:
Playing
the
animation
Youllnowplaytheanimationtogainanunderstandingofwhatcanbeachievedbyanimatingdata
throughtime.
1.
ClickView(ortypeAltv),pointtoToolbars,thenclickAnimation.
2. ClicktheAnimationdropdownarrowandclickAnimationManager.
-
7/23/2019 Animation in ArcMap
2/10
ESRI2
3. ClicktheTimeViewtab.TheTimeViewtaballowsthetimeslicesofananimationtobepreviewed.
4. ClickintheTimeViewdisplayarea(inthepositionshownbytheredtimesliderinthegraphic
below)toviewthepopulationfiguresrecordedinthe10yearperiodafter1800.
5. ResizeormovetheAnimationManagersoyoucanseethecountiesinthedisplayandthestatesin
thegraphthatwererecordingpopulationfiguresatthistime.
6.
Clickin
the
Time
View
display
area
(in
the
position
shown
by
the
red
time
slider
in
the
graphic)
to
viewpopulationfiguresrecordedinthe10yearperiodafter1990.
7. ClickCloseontheAnimationManager.
8. ClicktheOpenAnimationControlsbutton.
9. ClickOptionsandcheckthatyourPlayOptionsarethesameasthoseinthegraphicbelow.
-
7/23/2019 Animation in ArcMap
3/10
ESRI3
10.ClickOptionstocollapsethedialogbox,thenclickthePlaybuttontoseetheanimationplayinthe
ArcMapdisplayandinthegraph.
11.ClickClose(X)ontheAnimationControlsdialogbox.
12. ClicktheNewMapFilebutton.
13.
ClickNo
when
asked
to
save
the
map
document.
Inthisexercise,youopenedanexistingmapdocumentcontainingananimation,previewedtimeslices,
andplayedtheanimationtoexaminecountypopulationdataintheArcMapdisplayandstate
populationdatainagraph.InexercisesBandC,youllcreatetheanimationfromscratchtolearnthe
sequenceofstepsthatareinvolved.
B:Creatingatemporalanimation
TheprocedureforcreatingananimationthroughtimeisthesameinArcMap,ArcScene,andArcGlobe.
Inthisexercise,youllworkinArcMapandcreateananimationtoviewchangesinrecordedcounty
populationovertimeforanumberofcountiesintheUSA,fromtheyear1800totheyear2000.Youll
usethe
County
Population
feature
class
layer,
and
youll
animate
it
in
the
ArcMap
display.
B1:Openingthemapdocument
1. ClickFileandclickOpen.
2. NavigatetoyourTDinArcGIS\Exercise1\DatafolderanddoubleclickPopulation_Change_Start.mxd.
Themapcontainsbackgroundlayers,andtwolayerscontainingpopulationinformation:State
PopulationandCountyPopulation.Thesetwolayerscontainpopulationfiguresrecordedfromtheyear
1800to2000,in10yearincrements.
B2:
Creating
a
time
layer
animation
Featureclass,netCDF(featureandraster)andrastercataloglayerscanbeanimatedinthedisplayof
ArcMap,ArcScene,orArcGlobe.Allthatisrequiredisafieldwithtimevaluesintheattributetable,ora
timedimensionfornetCDFlayers.HereyoullusetheCreateTimeLayerAnimationdialogboxtocreate
atimelayeranimationinthedisplay,usingafeatureclasslayerasinput.
1. IftheAnimationtoolbarisntpresent,clickView,PointtoToolbarsandclickAnimation.
2. ClickAnimationandclickCreateTimeLayerAnimation.
-
7/23/2019 Animation in ArcMap
4/10
ESRI4
3. ClicktheSourceLayerorTabledropdownandclickCountyPopulationsincethisisthelayerthatwill
beanimated.
4. ClicktheFielddropdownandsetDATE_STasthetimefieldtouseintheanimation.
Sincethisisadatefield,theFormatdropdownisdisabled.Ifthefieldspecifiedwasastringornumeric
fieldthatcontaineddatestringssuchas2000/01/01youwouldneedtospecifythefieldformat.
NotethatsincethetimestepsintheCountyPopulationlayerareevery10years(regularlyspaced),an
EndTimeFieldisnotnecessary.Forirregularlyspacedtimesteps,youmayneedtospecifyanEndTime
Field.ThiscanbecreatedasapreprocessingstepusingtheCalculateEndDatetoolintheFieldstoolset
undertheDataManagementToolsintheArcToolboxwindow.
5. LeavetheEndTimeFieldoptionblank.
6. Settheintervalandunitstousetodisplaytimeslicesto10years.
7.
LeavetheAnimatefieldscumulativelyoptionunchecked.
TheAnimatefieldscumulativelyoptionenablesyoutoretaindatainthedisplaythathasbeendrawn,
enablingyoutoseeprogression,suchastheaccumulationintheextentofawildfire.
8. CheckShowtimeinthedisplay.Thetimetextforeachtimeslicewilldisplayastheanimationis
playedorpreviewed.
-
7/23/2019 Animation in ArcMap
5/10
ESRI5
9. Typealabelthatwillappearbeforethetimetextinthedisplayastheanimationisplayedor
previewed.
10.ClickCreatetogeneratethetimelayeranimation.
11.ClickFileontheMainmenuandclickSave.
B3:Playingtheanimation
Beforeplayingtheanimation,youllsetthetextfontandsizeforthetimetextthatwilldisplay.
1. IftheDrawtoolbarisntpresent,clickView,pointtoToolbars,andclickDraw.
2.
SetthetextfonttoArial,26pt,bold.
3. ClicktheOpenAnimationControlsbuttonontheAnimationtoolbar.
4. ClickOptions.
5. ClickBynumberofframesandclickCalculate.
6. SettheFramedurationto0.1.
7. UncheckRestorestateafterplayingsothattheoriginalstateofthedatabeforetheanimationwas
playedisnotrestoredaftertheanimationhasplayed.Thefinaltimesliceandtimetextwillbe
retained.
8.
ClickOptions
to
hide
the
play
and
record
options
so
you
can
see
the
animation
in
the
display.
9. ClickthePlaybutton.
Examinetheincreaseinrecordedpopulationovertime.
10.ClickFileontheMainmenuandclickSave.
-
7/23/2019 Animation in ArcMap
6/10
ESRI6
C:Animatingdatainagraphthroughtime
Inthisexercise,youlluseagraphfromtheStatePopulationlayertoexaminetotalpopulationfigures
perstateovertime.Youllattachthelayerasasecondarysourceforthetrack.Thedatainthegraphwill
thenanimatealongwiththedatainthedisplay.Youllbeabletospotgeneraltrendsbyviewingthe
statepopulationfiguresinagraph.
C1:
Examining
the
attribute
table
1. RightclicktheStatePopulationlayerandclickOpenAttributeTabletoexaminethepopulation
figures.
2.
RightclicktheState_NamefieldandclickSortAscending.
3.
Scrolldownthetableandnoticethatthepopulationforallstatesisbeingrecordedduringthefirst
halfofthe1800s.
4. Closethetable.
C2:Displayingagraph
InArcMap,featureclasslayers,netCDFfeaturelayersandtables,dBASE
tables,andgeodatabasetables
inapersonal,file,orArcSDEgeodatabasecanbeanimatedinagraph.Hereyoulldisplayagraph
createdfromtheStatePopulationlayer.
1. ClickToolsontheMainMenu,pointtoGraphs,thenclickPopulationchange.
Examinethebargraph.
-
7/23/2019 Animation in ArcMap
7/10
ESRI7
C3:AttachingtheStatePopulationlayertothetimelayertrack
YoullnowaddtheStatePopulationlayerasanotherattachedobjecttothetimelayertrackyoucreated
inexerciseB.Doingsowillenablethedatainthegraph(theStatePopulationlayer)toanimateatthe
sametimeasthedatainthedisplay(theCountyPopulationlayer).Anotherwaytoachievethisresultis
tocreateanothertimelayertrackandattachtheStatePopulationlayertoit.
1. ClickAnimationandclickAnimationManager.
2. ClicktheTrackstabandclickthetracktoselectit.
3. ClickProperties.
4.
Clickthe
General
tab,
click
State
Population
from
the
Available
objects
list,
then
click
Attach.
-
7/23/2019 Animation in ArcMap
8/10
ESRI8
5. ClicktheTimeTrackPropertiestabandclickStatePopulation.
6. ClicktheStartTimeFielddropdownarrowandclickStart_Date.
7. ClickOK.
8. ClickCloseontheAnimationManagerdialogbox.
9. ClickFileontheMainMenuandclickSave.
C4:Playingtheanimationinthegraphandthedisplay
Youranimationisnowreadytoplayinboththegraphandthedisplay.
-
7/23/2019 Animation in ArcMap
9/10
ESRI9
1. ClickOptionsontheAnimationControlsdialogboxtoexpandthePlayoptionspartofthedialog
box.
2. EnsurethatRestorestateafterplayingisuncheckedsothelastframewillberetainedafterplaying
theanimation.Alsocheckthenumberofframesthatwilldisplayis21,andtheframedurationis0.1.
3. ClickthePlaybutton.
Examinetherecordedpopulationchangesovertimeinthedisplayandinthegraph.
Thisbringsyoutotheendofthisexercise.Youvelearnedhowtocreateananimationthatshowslayer
attributeschangingwithtimeinthedisplayandinagraph.Thesestepscanbeappliedtoanysupported
datatypesousethistutorialasaguidewhenanimatingyourownlayersortablesthroughtime.Time
layertrackscanbecreatedinthesamewayinArcSceneandArcGlobe,soyoucananimateyourlayers
throughtimeinthoseapplicationsaswell.
Othertypesofanimationscanbebuiltbycreatingdifferenttracktypes.Youcanbuildamapviewtrack
tocreateananimationthatmovesaround,andzoomsinon,themap.Youcanbuildalayertrackto
createananimationthatalterslayertransparencyorvisibility.Ascenetrackallowsyoutoanimate
sceneproperties,
such
as
the
background
color.
These
tracks
can
be
built
and
animated
alongside
atime
layertracktocreatevisuallyinterestinganimations.Tolearnmoreaboutcreatinganimations,seethe
AnimationsectionoftheArcGISDesktopOnlineHelpsystem.
-
7/23/2019 Animation in ArcMap
10/10
ESRI10
D(Optional):Exportingtheanimationtoavideofile
Manytimes,youllneedtopresentyouranimationtoothers.Ratherthanplayingtheanimationinthe
displayoftheArcGISapplication,youcancreateavideoofyouranimationbyexportingtoanAudio
VideoInterleaved(.avi)orQuickTime(.mov)file.Thisisespeciallyusefulwhenworkingwithlarge
datasetswheretherefreshratecanbeslow,anditenablesyoutoshareyouranimationswithothers.
Videoscantaketimetocreate,especiallywithlargedatasets,butoncecreated,thevideorunsquickly.
Thevideowillplaytooquicklywiththecurrentlysetframedurationof0.1.
1.
SettheFramedurationontheAnimationControlsdialogboxto1.0second.
2.
CheckPlayonlyfromandtype17to21frames.Youllonlyexportthetimerangefrom1950
2000.
3. ClickOptionstocollapsetheAnimationControlsdialogbox.
4. Ensurethatthegraphislargeenoughtoshowallthestatenames,butsmallenoughsothatallthe
countiesandthetimetextcanbeseeninthedisplay.
5. ClicktheAnimationdropdownarrowandclickExporttoVideo.
6. NavigatetoyourAnimationinArcMapfolderandtypeMy_Population_ChangeintheFilename
textbox.
7.
Leavethe
default
in
the
Save
as
type
drop
down
list
as
AVI
(*.avi).
8. ClickOptions.
TheEnableOffScreenrecordingoptionisusefulifyouwanttocontinueworkingwhiletheanimationis
exporting.Withtheexceptionofgraphs,windowsopenedontopoftheArcMapapplicationwillnot
appearintheexportedvideo.Thegraphyoucreatedwillbeexportedandincludedinthevideofileif
youcheckEnableOffScreenrecording.
9. CheckEnableOffScreenrecording.
10.ClickOK.
11.
ClickExportontheExportanimationasvideodialogbox.TheVideoCompressiondialogboxopens.
12.
Click
the
Compressor
drop
down
arrow
and
choose
a
compressor.
Compressor/decompressors(codecs)arethirdpartysoftware,whichgreatlyreducefilesizewhile
maintainingoptimumquality.Thereareusuallydifferentcodecsondifferentmachines,dependingon
thetypesandversionsofvideocreation,editingandviewingsoftwareinstalled.ForMicrosoft
Audio
VideoInterleaved(AVI),FullFrames,Uncompressedisarguablythebestcodec,givingahighquality
videooutput.
NotethatyoucanexportanimationsfromlayoutviewinArcMap,enablingyoutoexportnotonlythe
displayandthegraphbutalsolayoutelements,suchasthelegendforthedatainthedisplay,anorth
arrow,scalebar,andsoon.
13.
Sinceitmaytakesometimetocreatethevideo,clickCancelandnavigateondisktoyour
TDinArcGIS\Exercise1\Datafolder.DoubleclickPopulation_Change.avitoplayavideothathas
previouslybeencreated.
14.ClickFileandclickSavetosavethemapdocument.
15.ClickFileandclickExittoexittheArcMapapplication.