Changes between Version 4 and Version 5 of ReplacingIntermap


Ignore:
Timestamp:
Nov 24, 2008, 8:54:44 AM (16 years ago)
Author:
Fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReplacingIntermap

    v4 v5  
    1 = # ??? : Replacing IM with OL =
     1= Use OpenLayers for web mapping interface (replace Intermap with OL) =
    22
    33|| '''Date''' || 2008/06/20 ||
     
    2020
    2121=== Links ===
    22  * '''Documents''': [http://openlayers.org/ OpenLayers],  [http://trac.mapfish.org/trac/mapfish MapFish]
     22 * '''Documents''': [http://openlayers.org/ OpenLayers],  [http://trac.mapfish.org/trac/mapfish MapFish], [http://ext.js/ Ext.js]
    2323 * '''Email discussions''':
    2424 * '''Other wiki discussions''':
     
    3737Removing the IM webapp in order to simplify the installation is also a nice target.
    3838
     39
     40The main objectives are :
     41 * add support for some Intermap missing functionnalities:
     42  * allow simple vector feature support (bbox highlight, define bbox or bounding polygon in the editor)
     43  * allow non WGS84 projection support
     44 * improve :
     45  * map viewing (tiling, layer tree)
     46  * pdf printing
     47 
     48GUI will be mainly written using javascript. It will be easier to update the layout as it will use div and css (instead of existing deeply nested table layout).
     49A jeeves service named "home" is using XSL to read localized string for the UI. Then all the layout will be HTML and JS.
     50
     51
     52
    3953== Proposal ==
    4054
    41 If removing Intermap, we have to consider which features will be missing in OL, and how we can replace them.
    42 Intermap at the moment is made of different components:
    43  Map viewer (client)::
    44  The map viewer is replaced with OL. We have automatically the following features:
    45   * Zoom in/out/
    46   * Zoom slider
    47   * Panning.
    48  We're missing some features (at least in the out-of-the-box OL version):
    49   * Zoom to full extent
    50   * Markers (Francois showed some nice alternatives indeed)
    51  Layer manager (client)::
    52   OL has a built-in layer manager, but that's more integrated in OL than in the host environment, and may not be the better choice when embedding OL somewhere.
    53   Francois showed us a layer manager implemented with [http://trac.mapfish.org/trac/mapfish MapFish], which offers some widgets aimed at map controls. This library uses Ext-JS so we may explore its use, also considering the fact that other proposals aim to the implementation in ext-js of the whole GN user interface.[[BR]]
    54   We may keep the current implementations for adding layers (server selection + layer selection).[[BR]]
    55   Please consider that OL has a completely different layer management with respect to the layer positioning: in IM you can order layer as you like, while in OL you have to define base layers and overlay layers.
    56  PDF builder (server)::
    57   !MapFish offers an advanced PDF builder, implemented server side via a servlet. This one could easily replace the current Intermap implementation.[[BR]]
    58   We have to consider that these server-side process will force us to use another application on the application server; that means we still have to have another application for map related processing beside Geonetwork.
    59  WMC builder (server)::
    60   In Intermap a WMC context document is built server side whenever needed. OL can create such a document client side, so we can send it to the server when needed.
    61  Mail context + thumbnail + URL w/ WMC::
    62   In IM we can now send email containing a thumbnail of the currently visualized map, and a URL that allow to reopen the GN/IM site with the very same map content. A WMC document is also sent as attachment, should the URL be too long and the browser unable to handle it.[[BR]]
    63  We have to reimplement completely this feature; on the content side, we may send the PDF instead of the thumbnail, and the WMC document can be generated client-side by OL. [[BR]]
    64 Please note that the URL you can use to open GN/IM at a certain context is a feature we have to consider when studying other proposals aimed at making REST-like URL possibile in GN.
     55|| Function || Available || Comments ||
     56|| Zoom in/out || X || default OL navigation or in MapFish toolbar ||
     57|| Zoom slider || X || default OL navigation ||
     58|| Panning || X || default OL navigation or in MapFish toolbar ||
     59|| Zoom to full extent || X || double click the metadata record to go to the metadata extent ||
     60|| Layer tree || X || MapFish layer tree (add, remove, view, reorder, transparency) ||
     61|| Pdf printing || X || MapFish print module, TODO send by email ||
     62|| WMC || X || OL WMC support, TODO email context ||
     63|| Metadata Bbox higlighter || X || ||
    6564
    66 Since OL may perform XHR toward remote servers we also need a proxy servlet to forward such requests, since browser security policies usually block them.
     65
     66|| Function || Available || Comments ||
     67|| Markers & annotation || X || Not planned yet ||
     68
    6769
    6870=== Backwards Compatibility Issues ===
    6971
    70 None.
    71 
     72 * JS file size for ext.js
     73 * obfuscated JS lib for MapFish and OpenLayers : https://trac.mapfish.org/trac/mapfish/wiki/HowToBuild
    7274== Risks ==
    7375
    7476== Participants ==
    75  * List of participants and role (if necessary) in current GIP
     77 * Francois
     78 * Patrick
    7679
     80