|
Re: GXF and Minimum and Maximum support: msg#00131gis.gdal.devel
Hi, I did made the changes on my local file (gxfdataset.cpp) to implement min and max functions. I tested the two methods and they are working fine (returning the right values). Just a very tiny contribution: // Class definition class GXFRasterBand : public GDALRasterBand { ......................................... virtual double GetMinimum (int *pbSuccess); virtual double GetMaximum (int *pbSuccess); }; // Class implementation double GXFRasterBand::GetMinimum (int *pbSuccess) { GXFDataset *poODS = (GXFDataset *) poDS; GXFInfo_t *gxfInfo = (GXFInfo_t *) poODS->hGXF; if( pbSuccess != NULL ) *pbSuccess = TRUE; return gxfInfo->dfZMinimum; } double GXFRasterBand::GetMaximum (int *pbSuccess) { GXFDataset *poODS = (GXFDataset *) poDS; GXFInfo_t *gxfInfo = (GXFInfo_t *) poODS->hGXF; if( pbSuccess != NULL ) *pbSuccess = TRUE; return gxfInfo->dfZMaximum; } _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | GXF and Minimum and Maximum support: 00131, N. Farah |
|---|---|
| Next by Date: | Re: s-57 to vrml elevation map?: 00131, Thorsten=20R=F6llich |
| Previous by Thread: | GXF and Minimum and Maximum supporti: 00131, N. Farah |
| Next by Thread: | BIL / BIP: 00131, McDonald, Brian J |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |