Import & Export

ExportToPNG.smlb ExportToPNG.smlb
TechGuideExport an Image
ExportToTIFF.smlb ExportToTIFF.smlb
TechGuideExport an Image
TIFFtoJP2.smlb TIFFtoJP2.smlb
TIFF_TO_JP2_Pipeline.sml: Links to one or more input GeoTIFF files and exports each to a GeoJP2 file with selected compression settings. TIFF_TO_JP2_Pipeline.sml

Export

HASH: Set up a HASH of RVC_OBJITEMS for use in the function DlgGetObjectSet() and the method MieHANDLE::ExportObjects(). RGB_to_GeoTIFF_Export.sml
Render to SVG svg.sml

Import

Import SRTM import_srtm.sml
Import vector from database: Draw point-to-point lines to a new Vector object. Coordinates taken from a main-level database. VecLinesFromXYXYdB.sml
Set RVC description: Automatically modify Project File descriptions for AVIRIS imagery to include a phrase in the form "wavelength xxxx" avirisl.sml
avirisl.zip

Writing Scripts with SML

GeoTIFF to GeoJP2: Links to one or more input GeoTIFF files and exports each to a GeoJP2 file with selected compression settings. GeoTIFF files may contain composite or separate bands. Script creates a custom dialog window to manage user inputs.� TIFF_TO_JP2_MIE.sml
Make Job Files: Provides interface for TIFF to JP2 file conversion. Makes job files that call TIFF_TO_JP2_MIE_FromJob.sml which must be in the same directory as this SML script. TIFF_TO_JP2_MIE_MakeJobs.sml
TIFF to JP2: Script called by a job file created with TIFF_TO_JP2_MIE_GetJobParms.sml. Converts a TIFF file to a JP2 file using parameters provided in the job file. TIFF_TO_JP2_MIE_FromJob.sml