Project

General

Profile

feature request #2489

strategy for congruent areas in distribution maps: create merged TDWG layer with all levels

Added by Andreas Kohlbecker over 8 years ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Priority13
Category:
cdm-dataportal
Start date:
11/28/2013
Due date:
% Done:

0%

Severity:
normal
Tags:

Description

distribution maps sometimes show areas which are congruent. This occurs because the according areas of different levels (TDWG 4 and 3) are marked with the same distribution status. For example Spain in the map for Sonchus tenerrimus:

http://wp6-cichorieae.e-taxonomy.eu/portal/?q=cdm_dataportal/taxon/c15bcde1-71ee-4910-ae84-f9b3fcbdb453

Spain appears darker since the area is rendered twice on time per layer and both semitransparent layers overlap.

A sensible strategy is needed to handle these situations.

In this case the

History

#1 Updated by Andreas Kohlbecker about 6 years ago

  • Status changed from New to In Progress

The best solution would be to combine all tdwg layers into one single layer and to have the following four columns in the attribute table (example for northern ireland ):

| tdwg1 | tdwg2 | tdwg3 | tdwg4 |
| 1 | 11 | IRE | IRE-NI |

#2 Updated by Andreas Kohlbecker over 5 years ago

  • Keywords set to map

#3 Updated by Andreas Müller over 4 years ago

  • Target version set to cdm_dataportal - Next Major Release

#4 Updated by Andreas Kohlbecker over 4 years ago

the approach suggested in comment 1 is not fully sufficient, since the 'areas' that exist of multiple polygons will still have their individual outlines, they are not dissolved or merged.

Further actions are needed to make this work.

see QGis dissolve tool for a possible means

#5 Updated by Andreas Kohlbecker over 4 years ago

in [#4292#note-10] FranckTheeten mentioned potential problems that could arise from having multiple layers in one shapefile:

"I would recommend to keep them separated. I'm not sure how PostGIS and Geoserver handle overlays, from what I saw today it seems that GeoServer relies on the primary key index of the base layer to handle the z-order at display (the ones with the higher indexes are placed on top of those with lower ), this could prevent displaying a single layer aggregating the 4 zones."

#6 Updated by Andreas Kohlbecker over 3 years ago

  • Target version changed from cdm_dataportal - Next Major Release to Release 4.0
  • Priority changed from New to Priority14

Yes the render order of the polygons for this layer will for now only be determined by the feature index.

This could be made more deterministic by surrounding each elements in the SLD by its own .

See for reference:

The order of elements in the SLD already follows the order of the elements in the 'ad' map service parameter.

So simply surrounding each element by a should give us the ability to control the render order in merged shape files.

This will make it possible to use a merged TDWG layer with all level (1-4).

#7 Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 4.0 to Release 4.1

#8 Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 4.1 to Release 4.2

#9 Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 4.2 to Release 4.3

#10 Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 4.3 to Release 4.4

#11 Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 4.4 to Release 4.5

#12 Updated by Andreas Müller almost 3 years ago

  • Target version changed from Release 4.5 to Release 4.6

#13 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.6 to Release 4.7

#14 Updated by Andreas Müller over 2 years ago

  • Description updated (diff)
  • Private changed from Yes to No

#15 Updated by Andreas Kohlbecker over 2 years ago

  • Priority changed from Priority14 to Priority13
  • Target version changed from Release 4.7 to Release 4.8

#16 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.8 to Release 4.9

#17 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.9 to Release 4.10

#18 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.10 to Release 4.12

#19 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.12 to Release 4.13

#20 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.13 to Release 4.14

#21 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.14 to Release 5.0

#22 Updated by Andreas Kohlbecker over 1 year ago

  • Target version changed from Release 5.0 to Release 5.1

#23 Updated by Andreas Kohlbecker over 1 year ago

  • Target version changed from Release 5.1 to Release 5.2

#24 Updated by Andreas Kohlbecker over 1 year ago

  • Target version changed from Release 5.2 to Release 5.3

#25 Updated by Andreas Kohlbecker over 1 year ago

  • Target version changed from Release 5.3 to Release 5.4

#26 Updated by Andreas Kohlbecker about 1 year ago

  • Target version changed from Release 5.4 to Release 5.5

#27 Updated by Andreas Kohlbecker 11 months ago

  • Target version changed from Release 5.5 to Release 5.6

#28 Updated by Andreas Kohlbecker 10 months ago

  • Target version changed from Release 5.6 to Reviewed Next Major Release

#29 Updated by Andreas Kohlbecker about 1 month ago

  • Tags changed from map to map, cichorieae
  • Subject changed from strategy for congruent areas in distribution maps to strategy for congruent areas in distribution maps: create merged TDWG layer with all levels

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)