GEOM 73 - Python Quiz 5

Beschreibung

Geography Quiz am GEOM 73 - Python Quiz 5, erstellt von Maggie Samson am 14/04/2019.
Maggie Samson
Quiz von Maggie Samson, aktualisiert more than 1 year ago
Maggie Samson
Erstellt von Maggie Samson vor mehr als 5 Jahre
68
2

Zusammenfassung der Ressource

Frage 1

Frage
Consider the following code: mapdoc = arpy.mapping.MapDocument("CURRENT") What does the keyword CURRENT refer to?
Antworten
  • a variable called CURRENT in preceding lines of code in the script
  • the map document current loaded into ArcMap
  • the map document in the current workspace
  • the most recently saved map document by ArcMap

Frage 2

Frage
Which of the following is (are) not a propery of a data frame object when using the ListDataFrames function? (check all that apply)
Antworten
  • scale
  • extent
  • showLabels
  • dataSource
  • visible
  • name

Frage 3

Frage
Which of the following is (are) a method of the DataFrame object? (check all that apply)
Antworten
  • getExtent
  • panToExtent
  • delete
  • save
  • zoomToSelectedFeatures
  • mapUnits

Frage 4

Frage
Not all layers have the same properties. Which method is used to determine whether a particular property (such as showLabels) applies to a specific layer?
Antworten
  • supports
  • contains
  • isValid
  • exists

Frage 5

Frage
Which one of the following functions of the ArcPy mapping module allows you to to add a layer before or after an already existing layer in a data frame?
Antworten
  • AddLayer
  • InsertLayer
  • AddLayerToGroup
  • UpdateLayer

Frage 6

Frage
Which method (s) can be used on map documents to update or fix broken data sources? (check all that apply)
Antworten
  • findAndReplaceWorkspacePath
  • replaceWorkspaces
  • ListBrokenDataSources
  • findAndReplaceWorkspacePaths
  • FixBrokenDataSources
  • replaceDataSource

Frage 7

Frage
Which of the following is (are) not a layout element type that can be used in scripting using the ListLayoutElements function of the ArcPy mapping module? (check all that apply)
Antworten
  • GRAPHIC_ELEMENT
  • DATA_ELEMENT
  • TEXT_ELEMENT
  • LEGEND_ELEMENT
  • SCALE_ELEMENT

Frage 8

Frage
Consider the following code: import arcpy mapdoc = arcpy.mapping.MapDocument("C:/Project/Study.mxd") Which of the following correctly creates a list of the all the text elements on a layout?
Antworten
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "", "Text")[0]
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "TEXT_ELEMENT")
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "", "Text")
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "TEXT_ELEMENT")[0]

Frage 9

Frage
Which of the following is the ArcPy function used to create a PDF file of a map document?
Antworten
  • SaveToPDF
  • PrintMapToPDF
  • PDFDocumentCreate
  • ExportToPDF

Frage 10

Frage
Which of the following cannot be accomplished by using the ArcPy mapping module in a Python script? (check all that apply)
Antworten
  • Add a new data layer to a data frame
  • Add a new data frame to a map document
  • Create a new empty map document
  • Add a scale bar to a map layout
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Geography Coastal Zones Flashcards
Zakiya Tabassum
Geography Quiz
PatrickNoonan
Using GoConqr to study geography
Sarah Egan
All the Countries of the World and their Capital Cities
PatrickNoonan
Tectonic Hazards flashcards
katiehumphrey
Volcanoes
1jdjdjd1
River Processes and Landforms
1jdjdjd1
GCSE Geography - Causes of Climate Change
Beth Coiley
The Rock Cycle
eimearkelly3
Plate Tectonics
eimearkelly3
Characteristics and Climate of a hot desert
Adam Collinge