Skip to content

[FireSTARR Feature Request]: Allow floating point or other integer sized input rasters for DEM #20

@jordan-evens

Description

@jordan-evens

Contact Details

No response

What would you like to see in the tool?

Want to allow parsing of float or any sized integer input DEM. Still expect to use integer values internally, but warn they are being rounded and load file regardless of data type.

Currently, trying to input a raster for dem that uses float gives:

[2026-06-01 09:48:18] FATAL:     Expected integer raster but got SAMPLEFORMAT_IEEEFP

for raster:

Driver: GTiff/GeoTIFF
Files: dem.tif
Size is 5778, 8369
Coordinate System is:
PROJCRS["RGF93 v1 / Lambert-93",
    BASEGEOGCRS["RGF93 v1",
        DATUM["Reseau Geodesique Francais 1993 v1",
            ELLIPSOID["GRS 1980",6378137,298.257222101004,
                LENGTHUNIT["metre",1]],
            ID["EPSG",6171]],
        PRIMEM["Greenwich",0,
            ANGLEUNIT["degree",0.0174532925199433,
                ID["EPSG",9122]]]],
    CONVERSION["Lambert Conic Conformal (2SP)",
        METHOD["Lambert Conic Conformal (2SP)",
            ID["EPSG",9802]],
        PARAMETER["Latitude of false origin",46.5,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8821]],
        PARAMETER["Longitude of false origin",3,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8822]],
        PARAMETER["Latitude of 1st standard parallel",44,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8823]],
        PARAMETER["Latitude of 2nd standard parallel",49,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8824]],
        PARAMETER["Easting at false origin",700000,
            LENGTHUNIT["metre",1],
            ID["EPSG",8826]],
        PARAMETER["Northing at false origin",6600000,
            LENGTHUNIT["metre",1],
            ID["EPSG",8827]]],
    CS[Cartesian,2],
        AXIS["easting",east,
            ORDER[1],
            LENGTHUNIT["metre",1,
                ID["EPSG",9001]]],
        AXIS["northing",north,
            ORDER[2],
            LENGTHUNIT["metre",1,
                ID["EPSG",9001]]]]
Data axis to CRS axis mapping: 1,2
Origin = (324533.981199999980163,6515235.173299999907613)
Pixel Size = (30.000000000000000,-30.000000000000000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  324533.981, 6515235.173) (  1d49'20.35"W, 45d38' 0.37"N)
Lower Left  (  324533.981, 6264165.173) (  1d37'59.99"W, 43d22'38.81"N)
Upper Right (  497873.981, 6515235.173) (  0d24' 6.08"E, 45d42'24.33"N)
Lower Right (  497873.981, 6264165.173) (  0d30'13.27"E, 43d26'52.20"N)
Center      (  411203.981, 6389700.173) (  0d38'12.51"W, 44d32'47.43"N)
Band 1 Block=5778x1 Type=Float32, ColorInterp=Gray
  Description = dem_inlbuff
  Min=0.000 Max=281.022 
  Minimum=0.000, Maximum=281.022, Mean=-9999.000, StdDev=-9999.000
  NoData Value=-9999
  Metadata:
    STATISTICS_MAXIMUM=281.02203369141
    STATISTICS_MEAN=-9999
    STATISTICS_MINIMUM=0
    STATISTICS_STDDEV=-9999

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions