diff --git a/geoindicators/src/main/groovy/org/orbisgis/geoclimate/geoindicators/GridIndicators.groovy b/geoindicators/src/main/groovy/org/orbisgis/geoclimate/geoindicators/GridIndicators.groovy index 297957c240..b3ecff825b 100644 --- a/geoindicators/src/main/groovy/org/orbisgis/geoclimate/geoindicators/GridIndicators.groovy +++ b/geoindicators/src/main/groovy/org/orbisgis/geoclimate/geoindicators/GridIndicators.groovy @@ -386,7 +386,7 @@ String formatGrid4Target(JdbcDataSource datasource, String gridTable) { THE_GEOM, ID_COL, ID_ROW, CAST(row_number() over(ORDER BY ID_ROW DESC) as integer) as "FID", - CASE WHEN BUILDING_FRACTION>0.75 THEN 0.75 ELSE END AS "roof", + CASE WHEN BUILDING_FRACTION>0.75 THEN 0.75 ELSE BUILDING_FRACTION END AS "roof", ROAD_FRACTION AS "road", WATER_FRACTION AS "watr", IMPERVIOUS_FRACTION AS "conc",