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 9 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Priority13
Category:
cdm-dataportal
Target version:
Start date:
11/28/2013
Due date:
% Done:

100%

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


Related issues

Copied to Edit - feature request #9122: update shapefile mappings of TDWG areas to the merged shapefile tdwg_levels_1-4 New 11/28/2013

History

#1 Updated by Andreas Kohlbecker about 7 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 about 6 years ago

  • Keywords set to map

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

  • Target version set to cdm_dataportal - Next Major Release

#4 Updated by Andreas Kohlbecker over 5 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 5 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 4 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 <Rule> elements in the SLD by its own <FeatureTypeStyle>. (Update: see also MapEditing)

See for reference:

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

So simply surrounding each <Rule> element by a <FeatureTypeStyle> 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 4 years ago

  • Target version changed from Release 4.0 to Release 4.1

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

  • Target version changed from Release 4.1 to Release 4.2

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

  • Target version changed from Release 4.2 to Release 4.3

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

  • Target version changed from Release 4.3 to Release 4.4

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

  • Target version changed from Release 4.4 to Release 4.5

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

  • Target version changed from Release 4.5 to Release 4.6

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

  • Target version changed from Release 4.6 to Release 4.7

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

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

#15 Updated by Andreas Kohlbecker over 3 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 3 years ago

  • Target version changed from Release 4.8 to Release 4.9

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

  • Target version changed from Release 4.9 to Release 4.10

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

  • Target version changed from Release 4.10 to Release 4.12

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

  • Target version changed from Release 4.12 to Release 4.13

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

  • Target version changed from Release 4.13 to Release 4.14

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

  • Target version changed from Release 4.14 to Release 5.0

#22 Updated by Andreas Kohlbecker over 2 years ago

  • Target version changed from Release 5.0 to Release 5.1

#23 Updated by Andreas Kohlbecker over 2 years ago

  • Target version changed from Release 5.1 to Release 5.2

#24 Updated by Andreas Kohlbecker over 2 years ago

  • Target version changed from Release 5.2 to Release 5.3

#25 Updated by Andreas Kohlbecker about 2 years ago

  • Target version changed from Release 5.3 to Release 5.4

#26 Updated by Andreas Kohlbecker about 2 years ago

  • Target version changed from Release 5.4 to Release 5.5

#27 Updated by Andreas Kohlbecker almost 2 years ago

  • Target version changed from Release 5.5 to Release 5.6

#28 Updated by Andreas Kohlbecker almost 2 years ago

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

#29 Updated by Andreas Kohlbecker about 1 year 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

#30 Updated by Andreas Kohlbecker 5 months ago

  • Target version changed from Reviewed Next Major Release to Release 5.18
  • % Done changed from 0 to 50

#31 Updated by Andreas Kohlbecker 5 months ago

the merged shapefile has been created an is available at https://github.com/cybertaxonomy/tdwg-area-shapefiles

#32 Updated by Andreas Kohlbecker 5 months ago

to review:

  1. wait until the shapefile is available in the geoserver
  2. test manually if the order of polygons works in the EDIT mapservices

#33 Updated by Andreas Kohlbecker 5 months ago

  • Copied to feature request #9122: update shapefile mappings of TDWG areas to the merged shapefile tdwg_levels_1-4 added

#34 Updated by Andreas Kohlbecker 5 months ago

  • Status changed from In Progress to Resolved

#35 Updated by Andreas Kohlbecker 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

the new shape file works and the layer order is correct as the following links demonstrates:

http://edit.africamuseum.be/edit_wp5/v1.2/areas.php?ad=tdwg_levels_1_4:tdwg_code:d:AGW-SL|c:AGW|b:85|a:8&as=a:8A90B6,,1|b:C889AD,,1|c:A46479,,1|d:602630,,1&ms=1000,800&bbox=-121.282614,-56.563036,1.764261,-7.368862

Next step is to remap the tdwg area terms at least in the cichorieae db and in the cdmlib resources in general --> #9122

#36 Updated by Andreas Müller 4 months ago

  • Target version changed from Release 5.18 to Release 5.17

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)