Changeset 12454
- Timestamp:
- 10/17/07 10:34:24 (9 months ago)
- Files:
-
- trunk/gdal/frmts/hdf4/hdf-eos/SWapi.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/frmts/hdf4/hdf-eos/SWapi.c
r12401 r12454 1602 1602 { 1603 1603 if (strcmp(utlstr, "DFNT_UCHAR8") == 0) 1604 *numbertype = 3;1604 *numbertype = DFNT_UCHAR8; 1605 1605 else if (strcmp(utlstr, "DFNT_CHAR8") == 0) 1606 *numbertype = 4;1606 *numbertype = DFNT_CHAR8; 1607 1607 else if (strcmp(utlstr, "DFNT_FLOAT32") == 0) 1608 *numbertype = 5;1608 *numbertype = DFNT_FLOAT32; 1609 1609 else if (strcmp(utlstr, "DFNT_FLOAT64") == 0) 1610 *numbertype = 6;1610 *numbertype = DFNT_FLOAT64; 1611 1611 else if (strcmp(utlstr, "DFNT_INT8") == 0) 1612 *numbertype = 20;1612 *numbertype = DFNT_INT8; 1613 1613 else if (strcmp(utlstr, "DFNT_UINT8") == 0) 1614 *numbertype = 21;1614 *numbertype = DFNT_UINT8; 1615 1615 else if (strcmp(utlstr, "DFNT_INT16") == 0) 1616 *numbertype = 22;1616 *numbertype = DFNT_INT16; 1617 1617 else if (strcmp(utlstr, "DFNT_UINT16") == 0) 1618 *numbertype = 23;1618 *numbertype = DFNT_UINT16; 1619 1619 else if (strcmp(utlstr, "DFNT_INT32") == 0) 1620 *numbertype = 24;1620 *numbertype = DFNT_INT32; 1621 1621 else if (strcmp(utlstr, "DFNT_UINT32") == 0) 1622 *numbertype = 25; 1622 *numbertype = DFNT_UINT32; 1623 else 1624 *numbertype = DFNT_NONE; 1623 1625 } 1624 1626 else … … 1626 1628 status = -1; 1627 1629 HEpush(DFE_GENAPP, "SWfieldinfo", __FILE__, __LINE__); 1628 HEreport( 1629 "\"DataType\" string not found in metadata.\n"); 1630 HEreport("\"DataType\" string not found in metadata.\n"); 1630 1631 } 1631 1632 … … 1649 1650 status = -1; 1650 1651 HEpush(DFE_GENAPP, "SWfieldinfo", __FILE__, __LINE__); 1651 HEreport( 1652 "\"DimList\" string not found in metadata.\n"); 1652 HEreport("\"DimList\" string not found in metadata.\n"); 1653 1653 } 1654 1654
