Geonetwork 2019 openlayers migration
Geonetwork team would like to organize a sprint to upgrade Openlayers version.
Location
Sprint scheduled for Q4 2019, proposed date:
- None ATM
Possible locations
- Chambéry
Contacts
Florent Gravin
Sponsors
EESA, Ifremer, Camptocamp, Titellus, GeoCat BV.
Participants
Please add your name and the projects you are planning to sprint and note the likehood of your attendance.
# | Participant | Country | Organization | Arrival | Departure | Project Work on | Notes | Attendance |
1 | Florent Gravin | France | Camptocamp | local | local | GeoNetwork | Notes | Confirmed |
2 | Olivier Guyot | France | Camptocamp | local | local | GeoNetwork | Notes | Confirmed |
3 | Francois-Xavier Prunayre | France | Titellus | local | local | GeoNetwork | Notes | Confirmed |
Discussion
How to upgrade Openlayers version
Openlayers is embedded in Geonetwork via ngeo, a companion library for Openlayers that provides tools to integrate AngularJS application. The ngeo library has moved to ES6 modules, following Openlayers fresh build system. We cannot build ngeo anymore as a dist library and integrate it to Geonetwork, the result is that we are not able to upgrade Openlayers version anymore. We are stuck with version 3.18 (I guess).
The javascript build system of Geonetwork is pretty closed, using Wro4j and Closure dependency convention, it's very hard to upgrade this build system to a modern JS one, and very risky. The only solution then is to remove ngeo from the code source of Geonetwork.
This is a very painfull task because many code of Geonetwork UI is using ngeo ATM. Here will be the approach:
- port specific used code of ngeo in geonetwork
- remove ngeo
- import openlayers as a standalone library
- upgrade openlayers version
- fix geontework code to match openlayers version
Geonetwork comes along with a 3D version using Cesium and ol-cesium library, that was also built along ngeo. This has to be migrated too.
How to Sponsor
- Sponsorship is accepted through the Open Source Geospatial Foundation
- Use OSGeo PayPal link, funds are in USD marked towards "OSGeo Foundation java code sprint".
- To make alternative arrangements or request an invoice contact OSGeo Treasurer: treasurer@osgeo.org
- Once sponsorship is received the OSGeo Treasurer will contact you and the event organizers to acknowledge your sponsorship
- Please have a logo ready for your organization if you wish to be acknowledged publicly
- Your event sponsorship, at your request, can contribute towards being recognized as an OSGeo Foundation sponsor
OSGeo Funding Request
The work load is estimated to about 10 days of work.
Some partners, Geonetwork sponsors get engaged to help the effort (Ifremer, EEAS), but it's not enough to cover it all (working days and accomodation).
We would hope OSGEO could help funding this event.