Skip to content

Commit

Permalink
Merge pull request #1017 from orbisgis/target_roof_fraction
Browse files Browse the repository at this point in the history
Force roof fraction to 0.75
  • Loading branch information
ebocher authored Dec 10, 2024
2 parents cf4752d + 6e649d1 commit 76ba3df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
- Add a test to check if the worldpop service is available
- Fix github actions
- Add TARGET landcover production
- Force TARGET ROOF fraction to 0.75 when BUILDING fraction is greater than 0.75
Original file line number Diff line number Diff line change
Expand Up @@ -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",
BUILDING_FRACTION 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",
Expand Down

0 comments on commit 76ba3df

Please sign in to comment.