31 #ifndef GDAL_JP2READER_H_INCLUDED 32 #define GDAL_JP2READER_H_INCLUDED 62 int SetOffset( GIntBig nNewOffset );
71 GIntBig GetDataLength();
72 const char *GetType() {
return szBoxType; }
78 int DumpReadable( FILE *,
int nIndentLevel = 0 );
80 VSILFILE *GetFILE() {
return fpVSIL; }
82 const GByte *GetUUID() {
return abyUUID; }
85 void SetType(
const char * );
86 void SetWritableData(
int nLength,
const GByte *pabyData );
87 const GByte*GetWritableData() {
return pabyData; }
91 static GDALJP2Box *CreateLblBox(
const char *pszLabel );
92 static GDALJP2Box *CreateLabelledXMLAssoc(
const char *pszLabel,
94 static GDALJP2Box *CreateUUIDBox(
const GByte *pabyUUID,
95 int nDataSize, GByte *pabyData );
102 typedef struct _GDALJP2GeoTIFFBox GDALJP2GeoTIFFBox;
109 int GMLSRSLookup(
const char *pszURN );
111 int nGeoTIFFBoxesCount;
112 GDALJP2GeoTIFFBox *pasGeoTIFFBoxes;
118 char **papszGMLMetadata;
120 int bHaveGeoTransform;
121 double adfGeoTransform[6];
129 char **papszMetadata;
130 char *pszXMPMetadata;
136 int ReadBoxes( VSILFILE * fpVSIL );
138 int ParseJP2GeoTIFF();
140 int ParseGMLCoverageDesc();
142 int ReadAndParse(
const char *pszFilename );
145 void SetProjection(
const char *pszWKT );
146 void SetGeoTransform(
double * );
147 void SetGCPs(
int,
const GDAL_GCP * );
150 GDALJP2Box *CreateGMLJP2(
int nXSize,
int nYSize );
Public (C callable) GDAL entry points.
Various convenience functions for CPL.
Definition: gdaljp2metadata.h:42
Ground Control Point.
Definition: gdal.h:255