orbisgis / geoclimate

Geospatial processing toolbox for environmental and climate studies
GNU Lesser General Public License v3.0
59 stars 16 forks source link

New attribute "TYPO_SECOND" in RSU UTRF output files (rsu_utrf_floor_area, rsu_utrf_area)? #864

Closed sfaraut closed 10 months ago

sfaraut commented 10 months ago

Hi!

I open a new ticket concerning an old one (request for feature): Add informations on building typologies at RSU scale in UTRF classification (ask for enhancement) #748 for a desired, and potentially usefull, TYPO_SECOND attribute which could give us directly what should be the "Secondary" architectural/urban typology at RSU scale (like in MApUCE data outputs)...

As been told in previous ticket's response, we do actually have the distribution of each building type in each RSU and the UNIQUENESS_VALUE attribute in Geoclimate rsu_utrf outputs, which is based on this TYPO_SECOND attribute : "The value of the uniqueness main class for the RSU defined as (FRACTION TYPO_MAJ - FRACTION TYPO_SECOND) / (FRACTION TYPO_MAJ + FRACTION TYPO_SECOND)", as confirmed in the UTRF RSU Wiki page.

But the desired TYPO_SECOND attribute values are not present in rsu_utrf_floor_area and rsu_utrf_area output layer files.

Could it be possible to give directly this TYPO_SECOND attribute to users, rather than having to use a postprocesssing of the distribution values?

Thanks by advance.

Serge.

j3r3m1 commented 10 months ago

Hi @sfaraut,

According to your demand on the previous ticket, we have created a new output from GeoClimate to meet the requirements you had. You left the choice to have either TYPO_MAJ and TYPO_SECOND or having the distribution, we chose to save the distribution since it is the raw data that can then be postprocessed to do whatever you would like (if your need change).

We can make the modification in the code (here) to also add the TYPO_SECOND but I need validation from @ebocher since it affects the layout of the output tables.