feature request #4294
openorder of map legend entries conforms to term order
0%
Description
The order in distribution maps is defined by the order of the styles in the map service request parameter as=
this order should be defined by the order of the terms (OrderedTermBase).
the order of the status is discussed in #3906 (EuroMed: preference of distribution status in case multiple distributions exist for the same area)
The expected order of the legend entries is like:
PresenceTerm.ENDEMIC_FOR_THE_RELEVANT_AREA PresenceTerm.NATIVE PresenceTerm.NATIVE_DOUBTFULLY_NATIVE PresenceTerm.INTRODUCED_NATURALIZED PresenceTerm.INTRODUCED_ADVENTITIOUS PresenceTerm.INTRODUCED PresenceTerm.INTRODUCED_DOUBTFULLY_INTRODUCED PresenceTerm.NATIVE_PRESENCE_QUESTIONABLE PresenceTerm.INTRODUCED_PRESENCE_QUESTIONABLE PresenceTerm.CULTIVATED AbsenceTerm.NATIVE_FORMERLY_NATIVE AbsenceTerm.NATIVE_REPORTED_IN_ERROR AbsenceTerm.INTRODUCED_REPORTED_IN_ERROR AbsenceTerm.INTRODUCED_FORMERLY_INTRODUCED PresenceTerm.INTRODUCED_UNCERTAIN_DEGREE_OF_NATURALISATION AbsenceTerm.CULTIVATED_REPORTED_IN_ERROR PresenceTerm.PRESENT
Updated by Andreas Kohlbecker over 9 years ago
Hi Franck,
i am about to figure out how the order of the map legend entries are defined and how it can be influenced in a reliable way wich works for all versions of the map service.
My first experiments with an example from http://dev.e-taxonomy.eu/trac/wiki/MapRestServiceExamples revealed that the order seems to be defined by the order of the as parameter entries:
(BTW: the above is not working with v1.4_dev !)
Then I tried a more realistic test:
This change however did not have any effect. I tried other approaches but I could not influence the order in any way.
Cheers
Andreas
Updated by Andreas Kohlbecker over 9 years ago
- Status changed from New to Resolved
- Assignee changed from Andreas Kohlbecker to e.raab-straube -
fixed by: r21566, r21565
Hi Eckhard,
the order of the map legend entries should correct now, except of course of the present status which is unwanted. But this is another issue.
please can you check if the legend is actually fixed now?
Andreas
Updated by Eckhard von Raab-Straube over 9 years ago
Hi Andreas,
I think the order of map legend should be as you have described it, except:
PresenceTerm.INTRODUCED_NATURALIZED
PresenceTerm.INTRODUCED
PresenceTerm.INTRODUCED_ADVENTITIOUS
Eckhard
Updated by Andreas Kohlbecker over 9 years ago
from email:
Hallo Eckhard,
die Reihenfolge in der Legende entspricht exakt der Priorität der Status, das ist aus zeitlichen Gründen derzeit nicht anders lösbar.
Mehr Flexibilität wäre wünschenswert, da gebe ich dir Recht, ist aber mit einigem Aufwand verbunden, und daher denke ich es ist besser ich kümmere mich um dringlichere Baustellen, wie die Bibliographie aka. Referenzen etc. ich denke das ist in eurem Sinne
Andreas
The subject of this ticket is that the order of map legend entries should conform to term order, this is solved! I will therefore open a new ticket for the freely configurable legend order: #4369 (order of map legend entries freely configurable)
Updated by Andreas Müller over 8 years ago
- Target version set to cdmlib RELEASE 3.5.0
Updated by Eckhard von Raab-Straube over 8 years ago
Looks like fixed: order is ok, except what I wrote in this ticket before:
"I think the order of map legend should be as you have described it, except:
PresenceTerm.INTRODUCED_NATURALIZED PresenceTerm.INTRODUCED PresenceTerm.INTRODUCED_ADVENTITIOUS"
The colour should get paler in the order, not becoming paler and then darker again.
However, I do not understand why some areas get the "present" status instead of the correct one. E.g., in Solidago candensis, the status for France is "present", whereas the status should in fact be "introduced: naturalised".
In Symphyotrichum squamatum,the status for Italy and Turkey is "present", but it should be "introduced: naturalised"
Andreas M., could you check the data? Something to do with the import or transmission engine?
Updated by Andreas Kohlbecker over 8 years ago
Replying to e.raab-straube:
Looks like fixed: order is ok, except what I wrote in this ticket before:
"I think the order of map legend should be as you have described it, except:
PresenceTerm.INTRODUCED_NATURALIZED PresenceTerm.INTRODUCED PresenceTerm.INTRODUCED_ADVENTITIOUS"
The colour should get paler in the order, not becoming paler and then darker again.
This seems to be a misconfiguration in the edit map server, I will create a new ticket in which we can examine this issue in depth ... #4818
Updated by Andreas Kohlbecker over 8 years ago
Replying to a.kohlbecker:
Replying to e.raab-straube:
Looks like fixed: order is ok, except what I wrote in this ticket before:
"I think the order of map legend should be as you have described it, except:
PresenceTerm.INTRODUCED_NATURALIZED PresenceTerm.INTRODUCED PresenceTerm.INTRODUCED_ADVENTITIOUS"
The colour should get paler in the order, not becoming paler and then darker again.
This seems to be a misconfiguration in the edit map server, I will create a new ticket in which we can examine this issue in depth ... #4818
I misunderstood this, the colors are correct but the order of the introduces status is not correct, it shoul dbe like:
PresenceTerm.INTRODUCED_NATURALIZED
PresenceTerm.INTRODUCED
PresenceTerm.INTRODUCED_ADVENTITIOUS
This (http://euromed.luomus.fi/euromed_map.php?taxon=283364&size=medium) is the reference map for Symphyotrichum squamatum.
Andreas
Updated by Andreas Kohlbecker over 8 years ago
i created a new ticket for the problem with the distribution status present : #4822
Updated by Eckhard von Raab-Straube about 8 years ago
This is a minor issue, still not fixed. Can be postponed.
Updated by Andreas Kohlbecker about 8 years ago
- Status changed from Resolved to In Progress
- Assignee changed from e.raab-straube - to Andreas Kohlbecker
- Target version changed from cdmlib RELEASE 3.5.0 to Euro+Med Portal Release
Updated by Andreas Kohlbecker about 8 years ago
- Priority changed from Highest to Priority12
Updated by Andreas Müller over 7 years ago
- Priority changed from Priority12 to Priority14
Updated by Andreas Müller over 7 years ago
Priority increase to have a look to the ticket if time is left until version 1.0 of the portal
Create new ticket for remaining task
Updated by Andreas Müller over 5 years ago
- Description updated (diff)
- Estimated time set to 0:30 h
Updated by Andreas Kohlbecker almost 2 years ago
- Tags changed from euro+med, migration to euro+med, migration, map
Updated by Andreas Müller almost 2 years ago
- Assignee changed from Andreas Kohlbecker to Andreas Müller
- Private changed from Yes to No