2

I am trying to import a raster file (.flt) into GRASS. The raster file (.flt) was generated from HEC-RAS. The said raster format cannot be imported into GRASS (it shows the error "file not supported"). Is there a way to import the .flt into GRASS?

1
  • I tried using r.in.bin but I can't convert my coordinates to the required format
    – teamAngat
    Commented Aug 16, 2011 at 12:08

2 Answers 2

2

It seems that r.in.gdal will be able to import *.flt files. I just browsed some posts in GRASS Mailing lists, though the last one reports errors while importing due to some reasons, you could try them.

  1. [GRASSLIST:3013] arcview
  2. Floating Grid to raster GRASS
  3. Error in r.in.gdal
3
  • Thanks. I visited the links you posted but it does not discuss the error I am experiencing for loading .flt files. The "file not supported" error occurs whenever I tried importing .flt files in GRASS
    – teamAngat
    Commented Jun 30, 2011 at 12:32
  • @teamAngat, not a good suggestion, but still have you tried posting the question on GRASS User's mailing list?
    – Chethan S.
    Commented Jun 30, 2011 at 13:31
  • yes, I already posted it but it is still pending. What I am currently doing in order to import the *.flt file into GRASS is to use arcgis (temporarily) to convert the file. The arcgis that we are currently using is only a trial version. We cannot use arcgis since the software that we are using has no budget, so we should only use open source software.
    – teamAngat
    Commented Jul 1, 2011 at 8:38
0

Can you use gdal_translate to convert to a raster format GRASS prefers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.