IsImageRegisterable()

Summary

Checks to see if an image can be registered.

Syntax

bool = IsImageRegisterable(string layer_name)

Argument Contents
layer_name The name of the image layer to be tested

Returns

A Boolean string "True" or "False."

Notes

  • Non-TIFF image layers will always return "False."

  • GeoTIFF images will return "False."

  • A read-only file will cause the function to return "False."

Example

bool = IsImageRegisterable("CAPITOL.TIF")

Error Codes

Error Type Meaning
Not Found Either the layer was not found or it was not an image layer

See Also

Function Summary
RegisterImage() Registers an image to a particular location, scale, and projection