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

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

53
2
0
Maggie Samson
Creado por Maggie Samson hace más de 5 años
Cerrar

GEOM 73 - Python Quiz 4

Pregunta 1 de 10

1

When working with raster data using the Describe function, which 3 different raster data elements could be returned?

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

  • raster band

  • raster file

  • raster image

  • raster dataset

  • raster catalog

  • raster collection

Explicación

Pregunta 2 de 10

1

Which property(ies) of a raster object can you use to determine whether a raster has more than one band? (select all that apply)

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

  • format

  • bandCount

  • dataType

  • pixelType

  • isMultiband

Explicación

Pregunta 3 de 10

1

Which of the following properties are associated with individual raster bands, but not with multiband raster datasets? (select all that apply)

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

  • noDataValue

  • format

  • compressionType

  • pixelType

  • bandCount

  • meanCellWidth

Explicación

Pregunta 4 de 10

1

Consider the following code:

import arcpy
arcpy.env.workspace = "C:/Mydata"
rasterlist = arcpy.ListRasters()
for raster in rasterlist:
print raster

The result is as follows:
elevation

What file format is the file called elevation?

Selecciona una de las siguientes respuestas posibles:

  • ERDAS IMAGINE

  • TIFF

  • raster

  • Esri GRID

  • feature class

  • DEM

Explicación

Pregunta 5 de 10

1

Raster is a class of the arcpy.sa module.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 10

1

When using arcpy.sa, what does a map algebra expression by default?

Selecciona una de las siguientes respuestas posibles:

  • a raster file

  • a raster dataset

  • a describe object

  • a raster object

  • a geoprocessing object

Explicación

Pregunta 7 de 10

1

Consider the following script:

import arcpy
from arcpy import env
from arcpy.sa import *
env.workspace = "C:/raster"
mynbr = NbrRectangle(5, 5, "CELL")
outraster = FocalStatistics ("landuse", mynbr, "VARIETY")
outraster.save("C:/raster/lu_var")

Which of the following is (are) a class of the arcpy.sa module? (select all that apply)

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

  • NbrRectangle

  • env

  • save

  • FocalStatistics

Explicación

Pregunta 8 de 10

1

Consider the following code:

import arcpy
from arcpy.sa import *

What does import * accomplish?

Selecciona una de las siguientes respuestas posibles:

  • imports the arcpy.sa module so all the properties and method can be utilized

  • imports any of the submodules associated with the arcpy.sa module so they don't need to be called separately

  • imports all the functions and other elements from the arcpy.sa module so they can be called directly

  • imports all the raster objects

Explicación

Pregunta 9 de 10

1

Which of the following are classes are part of the arcpy.sa module and are used to define parameters of raster tools?

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

  • ValueTable

  • SearchNeighborhoodStandard

  • NbrCircle

  • RadiusFixed

  • RemapValue

  • Raster

Explicación

Pregunta 10 de 10

1

The arcpy.sa module only has one function. Which one is it?

Selecciona una de las siguientes respuestas posibles:

  • RasterObject

  • SpatialReference

  • MapAlgebra

  • ApplyEnvironment

Explicación