Bartesto / FireSeverity_working

Dev space for refactoring fire severity code
0 stars 0 forks source link

BURNID generator #4

Closed Bartesto closed 2 years ago

Bartesto commented 2 years ago

Burn ID to be a (hopefully) unique combo of district-YYYY-X(4d)Y(4d)

X and Y coords are first 4 digits of the centroid X and Y coords of the burn polygon. Due to historical work the CRS of the polygons must be GDA94 MGA50 to avoid redoing prior work. Therefore the universal Albers projection will be transformed to GDA MGA50 for centroid calculation only. All actual spatial data will remain in Albers.

Bartesto commented 2 years ago

Have added this functionality to the gdb_assembler and the shp_assembler functions so that once assemble_data function is run the BURNID is already present.