[Qgis-user] Geolocating .flt files

Richard Duivenvoorde rdmailings at duif.net
Fri May 10 01:26:12 PDT 2019


On 09/05/2019 11.31, Quinn, Gary wrote:
> I am new to Qgis.
> 
> I have an .flt (floating point raster) file and an associated .hdr file.
> I can import the .flt  image file into Qgis (using Add raster layer),
> and the image displays correctly.
> But how do I geolocate this image using the associated .hdr file?
> In other words, how do I make Qgis use the .hdr file to let me know the
> lat/lon of each pixel on the display?
> 
> Note: The .hdr file is like this:
> geo points  = {     1,     1,  -40.212464,  146.355212,     1,  2590, 
> -44.006326,  145.100364,  1024,  2590,  -44.252673,  146.901021,  1024, 
>    1,  -40.442148,  148.049722} 
> 
> So I want Qgis to use this .hdr information to geolocate the image.
> I have searched various info about using .flt images and geolocation but
> can't find anything.

Hi Gary,

I'm not an expert in this format (never heard of it to be honest :-) ).

But if you write "I can import it", does that mean it is only read as a
plain image? That is if you move your cursor you see the x,y PIXELS
instead of coordinates on the bottom of QGIS? Meaning QGIS read it as a
non georeferenced image.

OR did QGIS already took some georeference-info (the .hdr) into account,
and you see actual latlon coordinates there?

Note that QGIS opens it's rasters via GDAL so GDAL should have a driver
for it to work in QGIS

Via:
https://gis.stackexchange.com/questions/69109/how-to-work-with-flt-hdr-files
I come to
http://geospaced.blogspot.com/2011/12/reading-afripop-data.html

Do you have some (small?) example to share?

Regards,

Richard Duivenvoorde




More information about the Qgis-user mailing list