MDM_GEOTIFF.GeoASCIIParams Property

FreeImage.NET

MDM_GEOTIFFGeoASCIIParams Property
Gets or sets the value of the GeoTIFF GeoASCIIParamsTag.

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public string GeoASCIIParams { get; set; }

Property Value

Type: String
Remarks
The GeoASCIIParamsTag is used to store all of the String valued GeoKeys, referenced by the GeoKeyDirectory property. Since keys defined in the GeoKeyDirectoryTag use offsets into this tag, any special comments may be placed at the beginning of this tag. For the most part, the only keys that are String valued are Citation keys, giving documentation and references for obscure projections, datums, etc.

Special handling is required for String-valued keys. While it is true that TIFF 6.0 permits multiple NULL-delimited strings within a single ASCII tag, the secondary strings might not appear in the output of naive tiffdump programs. For this reason, the NULL delimiter of each ASCII key value shall be converted to a "|" (pipe) character before being installed back into the String holding tag, so that a dump of the tag will look like this.

AsciiTag="first_value|second_value|etc...last_value|"

A baseline GeoTIFF-reader must check for and convert the final "|" pipe character of a key back into a NULL before returning it to the client software.


Handling of null values

A null value indicates, that the corresponding metadata tag is not present in the metadata model. Setting this property's value to a non-null reference creates the metadata tag if necessary. Setting this property's value to a null reference deletes the metadata tag from the metadata model.

See Also