exposure export tool: distinguish the licence from the header
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Platform |
Fix Committed
|
High
|
Paolo Tormene |
Bug Description
At the moment the .csv exported from the exposure tool has a form such as:
# Version 1.0 released on 31.01.2013
#
# Copyright (C) 2013 GEM Foundation
# ...
# More information on licensing: http://
#
#ISO, population_value, pop_cell_ID, lon, lat
OMN,0.232825,
OMN,0.232814,
OMN,0.232803,
My request is to change the line #ISO, population_value, pop_cell_ID, lon, lat by removing the # in front of it: then the
QGIS visualization tool can simply skip all the lines starting with a comment char and read the header from the first line
without a comment char. At the moment instead the visualization tool rely on the number of lines in the licence: if we
add or remove a line from the licence it will break.
Changed in oq-platform: | |
importance: | Undecided → High |
This should be included in https:/ /bugs.launchpad .net/oq- platform/ +bug/1378813