METAIN

Import image metadata from XML document


EnvironmentsPYTHON :: EASI :: MODELER
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example :: Related

Back to top

Description


Imports image metadata from an XML document into a PCIDSK file.
Back to top

Parameters


Name Type Caption Length Value range
FILE * String PCIDSK file name 1 - 192  

* Required parameter
Back to top

Parameter descriptions

FILE

Specifies the name of the PCIDSK file to receive the metadata. The metadata XML document must be located in the same directory as the PCIDSK file, have the same basename as the PCIDSK file, and have an "xml" extension.

Back to top

Details

METAIN reads image metadata from an XML document, reformats the metadata into a set of name-value pairs, and stores the information in a specified PCIDSK file.

The XML document file must be in the same directory and have the same base name as the output PCIDSK file. The XML document must have an "xml" file extension.

METAIN requires that the schema for the XML document be stored in the file $PCIHOME\\etc\\PCIImageMetadata.xsd.

Note: The XML document parser currently incorporated into METAIN does not accept a zero value that includes a decimal point. Therefore, "0" is accepted, but, "0.0", "0.00", etc. are not. Do not include zero values with decimal points in XML documents to be processed by METAIN.
Back to top

Example

Import XML metadata for curprad.pix.

EASI>FILE	=	"cuprad.pix"	! PCIDSK file name. Image metadata
			! will be read from "cuprad.xml"
EASI>RUN METAIN

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.