bug #8297
Updated by Andreas Müller about 3 years ago
for previous rules and discussions see also #3907 and other related tickets. http://portal.cybertaxonomy.org/euromed/cdm_dataportal/taxon/6a8e85bd-5e52-4ae2-9444-99128c87a672 http://ww2.bgbm.org/EuroPlusMed/PTaxonDetail.asp?NameCache=Abies%20alba&PTRefFk=7500000 Some issues from old+new A. alba comparison: * ~~EM EM endemism should come first and should not show area label~~ label * ~~Subareas Subareas of fallback areas (Ju etc) should not be handled in brackets, Ju should not appear if any subarea data exists~~ exists * ~~? ? / ??~~ ?? * [dCy] / DCy * old: Ga(F) and [cGa(F)] in same string => error according to ERS * ~~nHb(E nHb(E N) / nHb(E) nHb(N)~~ nHb(N) webservice results: [example](http://api.cybertaxonomy.org/euromed/portal/description/distributionInfoFor/0eb6ca37-3365-4af5-a800-8fc4b8c366fa.json?recipe=EuroPlusMed&statusOrderPreference=1&subAreaPreference=1&hiddenAreaMarkerType=e2b42891-aa85-4a09-981b-b7d8f5749c54%2C0318c67d-e323-4e9c-bffb-bc0c7f8f9f40&part=mapUriParams&part=condensedDistribution&part=tree&statusColors=%7B%0D%0A++++%22p%22%3A+%22%239CDF00%22%2C%0D%0A++++%22n%22%3A+%22%23008000%22%2C%0D%0A++++%22nd%22%3A+%22%2300FF00%22%2C%0D%0A++++%22nq%22%3A+%22%2300c8b4%22%2C%0D%0A++++%22f%22%3A+%22%23FFFFFF%22%2C%0D%0A++++%22in%22%3A+%22%23C86400%22%2C%0D%0A++++%22i%22%3A+%22%23C89600%22%2C%0D%0A++++%22ip%22%3A+%22%23C89600%22%2C%0D%0A++++%22ia%22%3A+%22%23c8c800%22%2C%0D%0A++++%22iq%22%3A+%22%23ffc896%22%2C%0D%0A++++%22c%22%3A+%22%23ffff00%22%0D%0A%7D) portal code is in modules/cdm_dataportal/includes/descriptions.inc ab Zeile 787 in der function compose_feature_block_distribution($taxon, $descriptionElements, $feature) known errors in BM portal: * Areas with native and introduced status are shown in the native and in the foreign part but should only be shown once (with the highest status), e.g. Ga(F) in http://ww2.bgbm.org/EuroPlusMed/PTaxonDetail.asp?NameCache=Abies%20alba&PTRefFk=7500000 Comparison with Cuba: * Cuba: areas always bold * Cuba: has outOfScope areas split with " - " * EM: has "introduced" (foreign origin) areas in square brackets * Cuba: has not subareas with abbrevlabel including the parent area and the parent part needs to be removed * EM: if status is the same in all subareas it should only be shown on the parent area level