GFDRR / thinkhazard

ThinkHazard!
http://thinkhazard.org/
GNU General Public License v3.0
33 stars 19 forks source link

Changing layer Title in Geonode #790

Closed stufraser1 closed 7 years ago

stufraser1 commented 7 years ago

Will changing the layer title in Geonode have negative upstream effects in TH code? I.e., changing EQ-BANG-KIT-475 to Earthquake Bangladesh KIT-475

Thank you

fvanderbiest commented 7 years ago

Not to my knowledge.

arnaud-morvan commented 7 years ago

In thinkhazard, geonode layers are identified by layer "id" (field "geonode_id" on thinkhazard side, which is the primary key). https://github.com/GFDRR/thinkhazard/blob/master/thinkhazard/processing/harvesting.py#L529

The layer name should be used only for display in thinkhazard.