Fossgis2008 Mapbender Development Sprint

From MapbenderWiki

Jump to: navigation, search
Das Treffen wird in deutscher Spache sein.

On April 4th the Mapbender Development Team had a development sprint in the wake of the FOSSGIS 2008 in Freiburg.


Contents

Participants

The following people showed up in Freiburg. Special thanks to Michael Schulz for organizing the venue, we were hosted at the Geologic Institute of the University of Freiburg.

Topics

  • Mapbender update routines
  • Mapbender 2.5 news - update of all developers
  • SLD - next steps
  • popup class: add ballon popups (google like) functionality
  • image preloader that has control over all images load status to hide the broken image browser symbols while page is loading
  • use jQuery's ready function instead of body onload
  • mapframe holds old image until new is loaded and resizes it on zoom (or implement tilecache)
  • global mouse move events
  • optimize admin interface eg with treefolder for grouping admin modules or hide some controls in modules with jquery to have a better overview
  • modul documentation in the scripts instead in the wiki - start to work out a solution
  • wfs 1.1
  • svn
  • OpenLayers integration
  • legend per layer, avoid double layer legend
  • optimize database
  • GeoNetwork integration

Metadaten / GeoNetwork

SLD

  • User:Michael Schulz
  • Identified security issues with sld mechanisms:
    • a sld url is called from the remote wms without being authenticated at mapbender
  • Fix this by extracting the sld-xml generating functions in a seperate module

OpenLayers

Image:Openlayers.png

Update Routine

WFS 1.1

Todo

  • compare wfs schemata (1.0 - 1.1)
  • create new class models
  • check for needed database changes (possibly affected tables: wfs, wfs_element, wfs_featuretype, wfs_featuretype_namespace)
  • new abstract OWS class
  • new abstract WFS class extends OWS class
  • new classes WFS_10, WFS_11 extending abstract WFS class
  • use php-simplexml parsing
  • javascript-side: wfs_obj.js, wfs.js

User:Holger Porath is willing to implement the new feature, please help funding. If you are interested in a WFS 1.1 implementation, join us at http://trac.osgeo.org/mapbender/ticket/203. If you need an account at Trac, contact User:Christoph Baudson.

Mapbender Strukturen

  • Erstellung eines Moduls
  • Übergabe der Element Variables an das Modul
  • Entwicklerwerkzeuge
  • Ladevorgang
  • Mapobjekt, WMS-Objekt
  • Eventhandling

Mapbender Documentation

  • User:Astrid Emde
  • User:Verena Diewald
  • phpDocumentor
    • Use of phpDocumentor
    • Installation of phpDocumentor
    • Using one Mapbender module for testing (mod_pan.php)
    • created some test documentation with testing tags trying to include all necessary information
<?php
/**
* Module Pan to pan map.
* Toggle On/Off
*
* Drags & drops the map with the mouse. Temporary GML objects are included making it possible to measure  and digitize while panning.  
* 
* SQL: INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src,  e_attributes, e_left, e_top, e_width, e_height, 
 e_z_index, e_more_styles, e_content, e_closeTag, e_js_file, e_mb_mod, e_target, e_requires) VALUES('gui1', 'pan1', '0002', '1', 'pan', 
'img', '../img/button_blink_red/pan_off.png', 'onmouseover = \\\"mb_regButton(\\\'init_mod_pan\\\')\\\" title=\"Pan\"', '260', '60', '24', '24', '1',
 , , , 'mod_pan.php', , 'mapframe1', );
*
* @abstract hallo hallo
* @package Pan
* @name mod_pan.php
* @version Mapbender 2.5
* @author <verena@example.com> Verena
* @todo document this module in PHPDocumentor
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @copyright 2002 CCGIS 
* @link http://www.mapbender.org/index.php/mod_pan.php
* @filesource http://trac.osgeo.org/mapbender/browser/branches/2.5/http/javascripts/mod_pan.php
*/
# $Id: mod_pan.php 2143 2008-02-25 23:21:35Z christoph $
require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
echo "var mod_pan_target = '".$e_target[0]."';";
?>
var mod_pan_elName = "pan1";
var mod_pan_frameName = "";
...............

Image:screenshot_phpdoc.png


Generation eines ER-Modells für den Mapbender

ERD of Mapbender 2.5
Enlarge
ERD of Mapbender 2.5

First Abstract: Entity-Relationship-Diagramm of Mapbenders 2.5










Date for the meeting

  • Friday, April 4th
  • the doors will open at 9.30 CET
  • we want to start the meeting at 10.00 CET and we can hack open end

Location


What happened at the meeting?

Personal tools