| 39 | |
| 40 | The 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 | |
| 48 | GUI 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). |
| 49 | A 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 | |
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 || || |