Project

General

Profile

Actions

feature request #5050

closed

feature request #3904: EuroMed: Implement filtering rules for distributions

revise the subAreaPreference rule for filtering Distributions

Added by Andreas Kohlbecker almost 9 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
16:00 h
Severity:
critical
Tags:

Description

The subAreaPreference rule for filtering Distributions is implemented in the DescriptionUtility.filterDistributions()

Sub area preference rule

The rule as currently implemented:

"If there is an area with a direct sub area and both areas have the same computed status only the information on the sub area should be reported, whereas the super area should be ignored."

This rule has a restriction which is no longer valid:

"NOTE: this rule only applies to non computed areas, since the second rule is applied first!. TODO this is no longer valid since the second rule has been removed_" the so called second rule was: "In computed distributions, distributions in sub areas are preferred over those for parent areas if they have the same status"

Questions and Facts

  • The subAreaPreference rule must only affect the maps and never must remove any Area from textual distribution information. It is originally only implemented in attachment:"#3904:FillHelsinkiOccurrence.bas" which had sole purpose of preparing the table to be sent to Helsinki for creating the maps. TODO: make subAreaPreference rule independent from other filters and execute it exclusively for maps. DONE [r24597|r24598]

  • The subAreaPreference rule must be applied to all Distributions, to computed and edited. This can bee clearly seen in attachment:"#3904:FillHelsinkiOccurrence.bas" - UPDATE: the subAreaPreference was never limited to only computed Distributions, this was only confused in the documentation and comments. TODO: disentangle documentation and clean up old code fragments DONE r24597

Originally requested in

  • 1. #2625 Data aggregation functionalities for E+M (TransmissionEngine))*

in Ticket description:

When generating maps from the accumulated distribution information some special cases have to be handled: .... If there is an area with a sub area and both areas have the same calculated status only the subarea status should be shown in the map, whereas the super area should be ignored.

and secondly in a follow up ticket:

  • 2. #3904 EuroMed: Implement filtering rules for Distributions**

[#3904#note-2]:

  • Cz Former Czechoslovakia soll nur dann ausgegeben werden, wenn es für keines der Teilareale (Cs Czech Republic oder Sk Slovakia) eine Angabe gibt;
  • Ju Former Jugoslavia soll nur dann ausgegeben werden, wenn es für keines der Teilareale (BH, Cg, Ct, Mk, Sl, Sr) eine Angabe gibt ;
  • IJ Israel-Jordan soll nur dann ausgegeben werden, wenn es für keines der Teilareale (Ir, Jo) eine Angabe gibt;
  • LS Lebanon-Syria soll nur dann ausgegeben werden, wenn es für keines der Teilareale (Le, Sy) eine Angabe gibt;

UPDATE: At least above requirement for Ju conflicts with the other rules, see [#4408#note-6]

Issues that exist with this rule

A couple of issues exist which are related to this rule:

  • [#3907#note-26] the rule causes removal of named areas which should occur in the condensed distribution
  • #4409 (filtering rules for Distributions: some named areas with sub areas are missing in distribution)
  • #4408 (Distribution filter rule 2 not working in all cases)

Related issues

Related to EDIT - feature request #6452: Deduplicate equal subareas like TDWG level 4 -00 areasNewAndreas Kohlbecker

Actions
Related to EDIT - bug #8297: Fix condensed distribution string for E+MClosedAndreas Müller

Actions
Related to EDIT - task #8671: Distribution in E+M (BM) on different levelsRejectedAndreas Müller

Actions
Related to EDIT - bug #8670: Unwanted distribution aggregation/display on 2 levels ClosedAndreas Müller

Actions
Related to EDIT - bug #9143: Distribution data sources are missing if multiple distributions exist ClosedAndreas Müller

Actions
Related to EDIT - bug #7107: "Omit level" (TDWG Level2) in distribution hierarchy should not supress distributions source referenceDiscussedAndreas Müller

Actions
Related to EDIT - feature request #9502: Implement subarea preference rule and fallback areas for areas with complex hierarchyResolvedAndreas Müller

Actions
Related to EDIT - bug #8310: Issues to solve in E+M shapefileClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker almost 9 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Andreas Kohlbecker almost 9 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andreas Kohlbecker to Andreas Müller

fixing all issues mentioned in this ticket:

  • [r24598 applying subAreaPreference rule exclusively for maps|* r24597] subAreaPreference Rule can be run completely separately
Actions #3

Updated by Andreas Müller almost 9 years ago

  • Category changed from architecture to cdmlib
Actions #4

Updated by Andreas Müller about 7 years ago

Actions #6

Updated by Andreas Kohlbecker about 6 years ago

  • Description updated (diff)
Actions #9

Updated by Andreas Müller almost 6 years ago

  • Status changed from Resolved to In Progress
  • % Done changed from 0 to 40
  • Estimated time set to 16:00 h
Actions #10

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 3.7 to Release 5.1
Actions #11

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 5.1 to Release 5.2
Actions #12

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.2 to Release 5.3
Actions #13

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.3 to Release 5.4
Actions #14

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.4 to Release 5.5
Actions #15

Updated by Andreas Müller about 5 years ago

  • Target version changed from Release 5.5 to Release 5.6
Actions #16

Updated by Andreas Müller about 5 years ago

  • Target version changed from Release 5.6 to Release 5.7
Actions #17

Updated by Andreas Müller almost 5 years ago

  • Target version changed from Release 5.7 to Release 5.8
Actions #18

Updated by Andreas Müller almost 5 years ago

  • Related to bug #8297: Fix condensed distribution string for E+M added
Actions #19

Updated by Andreas Müller almost 5 years ago

  • Target version changed from Release 5.8 to Release 5.10
Actions #20

Updated by Andreas Müller over 4 years ago

  • Target version changed from Release 5.10 to Release 5.11
Actions #21

Updated by Andreas Müller over 4 years ago

  • Private changed from Yes to No
Actions #22

Updated by Andreas Müller over 4 years ago

  • Target version changed from Release 5.11 to Release 5.12
Actions #23

Updated by Andreas Müller over 4 years ago

  • Related to task #8671: Distribution in E+M (BM) on different levels added
Actions #24

Updated by Andreas Müller over 4 years ago

  • Related to bug #8670: Unwanted distribution aggregation/display on 2 levels added
Actions #25

Updated by Andreas Müller over 4 years ago

  • Target version changed from Release 5.12 to Release 5.13
Actions #26

Updated by Andreas Müller about 4 years ago

  • Target version changed from Release 5.13 to Release 5.14
Actions #27

Updated by Andreas Müller about 4 years ago

  • Target version changed from Release 5.14 to Release 5.15
Actions #28

Updated by Andreas Müller almost 4 years ago

  • Target version changed from Release 5.15 to Release 5.18
Actions #29

Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 5.18 to Release 5.19
Actions #30

Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 5.19 to Release 5.21
Actions #31

Updated by Andreas Müller about 3 years ago

  • Related to bug #9143: Distribution data sources are missing if multiple distributions exist added
Actions #32

Updated by Andreas Müller about 3 years ago

  • Related to bug #7107: "Omit level" (TDWG Level2) in distribution hierarchy should not supress distributions source reference added
Actions #33

Updated by Andreas Müller about 3 years ago

  • Related to feature request #9502: Implement subarea preference rule and fallback areas for areas with complex hierarchy added
Actions #34

Updated by Andreas Müller about 3 years ago

  • Status changed from In Progress to Closed
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

Generally this is fixed. The subarea preference is implemented for map creation. Some open issues with fallback areas are handled in #9502.

Shapefile issues were solved in #8310.

Actions #35

Updated by Andreas Müller about 3 years ago

  • % Done changed from 40 to 100
Actions #36

Updated by Andreas Müller about 3 years ago

  • Related to bug #8310: Issues to solve in E+M shapefile added
Actions

Also available in: Atom PDF