The following table lists programs that provide metadata input and output capabilities.
Program | Description |
---|---|
METAIN | Import image metadata from an XML document |
METAOUT | Export image metadata to an XML document |
The standard external format for image metadata in CATALYST Professional is as an XML document contained in a text file with an 'xml' extension that is valid with respect to the schema stored in the file $PCIHOME\\etc\\PCIImageMetadata.xsd. The following is an example of such a document (metadata for bands 3 to 127 are omitted for brevity):
<?xml version="1.0"?> <PCI-ImageMetadata xmlns="http://www.PCI-imeta.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.pci-imeta.org PCIImageMetadata.xsd"> <!-- *************** --> <!-- global metadata --> <DatasetDescription>Reformatted from Free AVIRIS Standard Data Product f970619t01p02_r02.tar.gz (Cuprite)</DatasetDescription> <NumberOfBands>224</NumberOfBands> <NumberOfRadTrans>1</NumberOfRadTrans> <SensorModelName>AVIRIS-1997</SensorModelName> <SensorType>whiskbroom</SensorType> <NominalLocation> <Latitude>37.70259</Latitude> <Longitude>-117.20816</Longitude> <Height>21036</Height> </NominalLocation> <NominalTime> <Year>1997</Year> <Month>06</Month> <Day>19</Day> <Hour>20</Hour> </NominalTime> <NominalHeading>179.8</NominalHeading> <ForeAftTilt>0</ForeAftTilt> <FieldOfView> <Left>15</Left> <Right>15</Right> </FieldOfView> <!-- ********************** --> <!-- band-specific metadata --> <Band> <StorageChannel>1</StorageChannel> <ID>1</ID> <Quality>plot</Quality> <ResponseProfile> <Type>gaussian</Type> <Centre>369.85</Centre> <FWHM>9.61</FWHM> </ResponseProfile> <RadiometricTrans> <Index>1</Index> <Quantity>apprad</Quantity> <Gain>0.0020</Gain> <Offset>0</Offset> </RadiometricTrans> </Band> <Band> <StorageChannel>2</StorageChannel> <ID>2</ID> <Quality>plot</Quality> <ResponseProfile> <Type>gaussian</Type> <Centre>379.69</Centre> <FWHM>9.58</FWHM> </ResponseProfile> <RadiometricTrans> <Index>1</Index> <Quantity>apprad</Quantity> <Gain>0.0020</Gain> <Offset>0</Offset> </RadiometricTrans> </Band> ... <Band> <StorageChannel>224</StorageChannel> <ID>224</ID> <Quality>plot</Quality> <ResponseProfile> <Type>gaussian</Type> <Centre>2506.81</Centre> <FWHM>10.03</FWHM> </ResponseProfile> <RadiometricTrans> <Index>1</Index> <Quantity>apprad</Quantity> <Gain>0.0010</Gain> <Offset>0</Offset> </RadiometricTrans> </Band> </PCI-ImageMetadata>
METAIN reads image metadata from an XML file and writes them to a PCIDSK file. METAOUT reads image metadata from a PCIDSK file and writes them to an XML file.
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.