Maggie Samson
Test por , creado hace más de 1 año

Geography Test sobre GEOM 73 - Python Quiz 5, creado por Maggie Samson el 14/04/2019.

66
2
0
Maggie Samson
Creado por Maggie Samson hace alrededor de 5 años
Cerrar

GEOM 73 - Python Quiz 5

Pregunta 1 de 10

1

Consider the following code:

mapdoc = arpy.mapping.MapDocument("CURRENT")

What does the keyword CURRENT refer to?

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 2 de 10

1

Which of the following is (are) not a propery of a data frame object when using the ListDataFrames function? (check all that apply)

Selecciona una o más de las siguientes respuestas posibles:

  • scale

  • extent

  • showLabels

  • dataSource

  • visible

  • name

Explicación

Pregunta 3 de 10

1

Which of the following is (are) a method of the DataFrame object? (check all that apply)

Selecciona una o más de las siguientes respuestas posibles:

  • getExtent

  • panToExtent

  • delete

  • save

  • zoomToSelectedFeatures

  • mapUnits

Explicación

Pregunta 4 de 10

1

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?

Selecciona una de las siguientes respuestas posibles:

  • supports

  • contains

  • isValid

  • exists

Explicación

Pregunta 5 de 10

1

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?

Selecciona una de las siguientes respuestas posibles:

  • AddLayer

  • InsertLayer

  • AddLayerToGroup

  • UpdateLayer

Explicación

Pregunta 6 de 10

1

Which method (s) can be used on map documents to update or fix broken data sources? (check all that apply)

Selecciona una o más de las siguientes respuestas posibles:

  • findAndReplaceWorkspacePath

  • replaceWorkspaces

  • ListBrokenDataSources

  • findAndReplaceWorkspacePaths

  • FixBrokenDataSources

  • replaceDataSource

Explicación

Pregunta 7 de 10

1

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)

Selecciona una o más de las siguientes respuestas posibles:

  • GRAPHIC_ELEMENT

  • DATA_ELEMENT

  • TEXT_ELEMENT

  • LEGEND_ELEMENT

  • SCALE_ELEMENT

Explicación

Pregunta 8 de 10

1

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?

Selecciona una de las siguientes respuestas posibles:

  • 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]

Explicación

Pregunta 9 de 10

1

Which of the following is the ArcPy function used to create a PDF file of a map document?

Selecciona una de las siguientes respuestas posibles:

  • SaveToPDF

  • PrintMapToPDF

  • PDFDocumentCreate

  • ExportToPDF

Explicación

Pregunta 10 de 10

1

Which of the following cannot be accomplished by using the ArcPy mapping module in a Python script? (check all that apply)

Selecciona una o más de las siguientes respuestas posibles:

  • 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

Explicación