Project

General

Profile

Actions

task #9385

open

Simplyfy boundingbox setting for user fixed map clipping

Added by Andreas Kohlbecker about 2 years ago.

Status:
New
Priority:
Priority13
Category:
cdm-dataportal
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:
map

Description

Problem:

The settings in admin/config/cdm_dataportal/settings/geo for the Bounding box needs to be compliant to the chosen map, so it must be entered either in degree or meter. Due to a bug in the preview map on this settings page, the user might get confused. For mercator maps the preview is broken like in the slavador portal (http://portal.cybertaxonomy.org/salvador/admin/config/cdm_dataportal/settings/geo) when the correct bbox value is entered: -10110603.429244,1445361.674183,-9682556.070906,1659385.353352. With the same bbox in degree (-90.300926,13.109263,-87.504051,14.507701) the preview appears correct, but the maps on the taxon pages are broken in this case.

Solution:

  1. Only allow degrees to be entered and transform the bbox to the projection of the base layer.
  2. Fix the preview map

No data to display

Actions

Also available in: Atom PDF