Closed fredychandra closed 8 years ago
see #2320
Hi @fredychandra i agree - if there is a total of 0 for any type the type can be removed and if all values in a table are 0 or nodata - do not write the table
we probably also need to add a note that tells users why tables are not included
Hi @fredychandra, i am unfortunately unable to reproduce with the test data. Is there a way to get the exact scenario to me? Perhaps even just a representative clip of the data?
Yeah, the post processors seem to be written with only OSM building types in mind:
self.fields_values = OrderedDict([ ('Medical', ['Clinic/Doctor', 'Hospital']), ('Schools', ['School', 'University/College', ]), ('Places of worship', ['Place of Worship - Unitarian', 'Place of Worship - Islam', 'Place of Worship - Buddhist', 'Place of Worship']), ('Residential', ['Residential']), ('Government', ['Government']), ('Public Building', ['Public Building']), ('Fire Station', ['Fire Station']), ('Police Station', ['Police Station']), ('Supermarket', ['Supermarket']), ('Commercial', ['Commercial']), ('Industrial', ['Industrial']), ('Utility', ['Utility']), ('Sports Facility', ['Sports Facility']), ('Other', [])])
HI @cchristelis i used these data :
Please find the data that I have used for the test (IF : EQ Polygon with Point with Aggregation) on the link below.
The no data / zero column removal has been added in #2345. The underlying issue is caused by non- osm data, which is not handled in the post processors.
This issue should be moved to #2332.
this relates to non OSM data - lets look at this for 3.3 Milestone and label updated
hi @fredychandra Can you re-share your data above? I try to find it, but the link is no longer valid.
Thanks
Hi @ismailsunni we have compiled a check list about Zero and No Data, too, just see in the Zero and No Data (ZND) column. Here is the link
https://docs.google.com/spreadsheets/d/1Cx7XWtK-GoIiGwlZzrcaVxiopwXieX_DKRcwETfq4_Y/edit?usp=sharing
The information about the Impact Function Table of Sequence Order: "V" it means the sequence may appear in map legend and/or table analysis, and needs fixing. "-" it means already good.
Make it happy :smile:
Cc: @Charlotte-Morgan @timlinux @samnawi @ivanbusthomi
This should be fixed with the value mapping. @ismailsunni please confirm and close
Closed. Fixed in #2904 by @Gustry
Problem
The Building Type Report Table still reporting zero (o) and No data if run IF with aggregation. The implication is the report become too long and truncation in the lateral side. The table still use OSM preset/attribute although the exposure data that being used is not come from OSM downloader.
Detail
Test on Dock IF : Earthquake with Building Point Hazard Data : EQ_TTU (Polygon) Exposure : Infrastuvture_BIG (Point) Aggregation : Yes (Village Level)
proposed solution
CC
@ismailsunni @samnawi @Charlotte-Morgan