support more HDF4 files by dropping requirement of "Signature" attribute
|Reported by:||andreash||Owned by:||warmerdam|
I noticed that when I create a HDF4 ScientificDataSet file directly with the HDF4-API (without GDAL), and I add the attributes TransformationMatrix, AREA_OR_POINT and Projection, to the file, GDAL still refuses to read the georeferencing from the file. Once I additionally add an attribute Signature reading "Created with GDAL (http://www.remotesensing.org/gdal/)", GDAL does read the georeferencing correctly.
I personally find this behaviour very strange. My suggestion:
, line 743, in the final
case, before setting the dataset type to UNKNOWN, check if the required attributes are present and if yes, set the dataset type to GDAL_HDF4