Bug #2188


replace web client with OpenLayers

Added by John Harris about 18 years ago. Updated over 12 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


The Metacat spatial viewer should support basic GIS functions such as panning,
zoomin, and selection and ordering of themes/layers.

Related issues

Is duplicate of Metacat - Bug #5316: Interactive map doesn't work with firefoxResolvedChad Berkley02/19/2011

Actions #1

Updated by Matthew Perry about 17 years ago

Mapbuilder supports all of these functions (panning, zooms, layer selection).

There is another option that allows for continuous panning ala google maps interface called OpenLayers. It is much "slicker" interface though it lacks some of the advanced functionality and cionfigurability of Mapbuilder.

Open Layers also uses the WMS spec so little would need to be done on the server tier to support it. I have a few demos worked up and, when the spatial metacat extensions are released, I hope to allow each skin the option of using either mapbuilder OR openlayers as the web mapping client.

Actions #2

Updated by Matthew Perry about 17 years ago

changed title of the bug to reflect ongoing work with OpenLayers; a web mapping client alternative mapbuilder

Actions #3

Updated by Matt Jones over 13 years ago

The existing mapping client used in the Metacat skins is MapBuilder, which is no longer supported and no longer works properly with several modern browsers. We need to replace this with a modern web mapping client, probably OpenLayers, that supports current browsers. This probably depends on upgrading geoserver as well.

Actions #4

Updated by ben leinfelder over 12 years ago

Re-implementing the features we have in MapBuilder in OpenLayers:
1. named locations drop down
2. spatial query when drawing a bounding box

For #1 I still need to go through each skin and make sure they use the new OpenLayers map template (especially SANParks and SAEON)

#2 is functional, though we may want to tweak how it works WRT zooming vs invoking the query.

Actions #5

Updated by ben leinfelder over 12 years ago

-create a way for skins to reuse the common map rendering but still perform spatial queries with their results styled as the correct qformat
-add spatial search control to existing control options (pan and zoom) so that the mouse drag acts as expected depending on which control you have selected (as it did in mapbuilder).
-SLDs could be finessed, at least for sanparks/saeon skins
-remove sanparks layer in the shared common map. allow skins to specify additional layers to load in the openlayers rendering in their skin.

Actions #6

Updated by ben leinfelder over 12 years ago

added new map control for metacat spatial query. now you can Pan/Zoom/Search depending on which control is selected

Actions #7

Updated by ben leinfelder over 12 years ago

New OpenLayers implementation is now in trunk - old MapBuilder has been removed.

Actions #9

Updated by Redmine Admin over 10 years ago

Original Bugzilla ID was 2188


Also available in: Atom PDF