Skip To Content

ImageExportTerrainSettings

image export terrain settings.

@example:
# settings class to export the terrain as an image file. Note that the user may be prompted for
# a coordinate system for the scene if one is not already set.
ce.setSceneCoordSystem("EPSG:26954")
terrain = ce.getObjectsFrom(ce.scene, ce.withName("'Heightmap'"))[0]
exportSettings = ImageExportTerrainSettings()
exportSettings.setFilename(ce.toFSPath("/general/scripts/apidoctest/exports/terrain/images/terrainImage.png"))
ce.export(terrain, exportSettings)

 

Methods defined here:

set16Bit

set16Bit(self, bit16):

Sets whether the exporter should attempt to write a 16 bit image.

@param bit16: Sets whether the exporter should attempt to write a 16 bit image.  [True/False]

setFilename

setFilename(self, filename):

Sets the absolute path of the output image file.

@param filename: The absolute path of the output image file . [str]

setFloat

setFloat(self, bitFloat):

Sets whether the exporter should attempt to write a 32 bit float image.

@param bitFloat: Sets whether the exporter should attempt to write a 32 bit float image.  [True/False]

setGeoTiff

setGeoTiff(self, geoTiff):

Sets whether the exporter should attempt to add geotiff metadata to the image.

@param geoTiff: Sets whether the exporter should attempt to add geotiff metadata to the image.  [True/False]