Management of history of the rotation of agricultural parcels through open-source tools Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Bretagnolle 3, Tran Ba Huy 2, Alain Bouju 2, Nathalie Long 1, Michel Ménard 2, Karell Bertet 2 1- Laboratoire Littoral, Environnement et Sociétés (LIENSs), U.M.R CNRS 7266 2- Laboratoire Informatique Image et Interaction (L3I), Université de la Rochelle 3- Centre d Etudes Biologiques de Chizé (CEBC), U.M.R CNRS 7372 christine.plumejeaud-perreau@univ-lr.fr 11 June 2014 Third Open Source Geospatial Research & Education Symposium Espoo, Finland, 10-13 June 2014 Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 1 Karell tools / 19 B
Content An example of people using open-source solution 1 A long-term observatory for crop rotations and biodiversity at Chizé (France) 2 Some unavoidable changes for the ancient GIS 3 Migration towards an open-source GIS solution 4 Conclusion and perspectives hristine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 2 Karell tools / 19 B
A long-term observatory for crop rotations and biodiversity at Chizé (France) Zone Atelier Plaine et Val de Sèvre 500 km 2 south of Niort, in a intensive cereal plain 19 000 agricultural parcels Various databases: Crop rotations data Biodiversity data Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 3 Karell tools / 19 B
A long-term observatory for crop rotations and biodiversity at Chizé (France) Crop rotations data: recording the shape and content of farmers s fields for 20 years Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 4 Karell tools / 19 B
A long-term observatory for crop rotations and biodiversity at Chizé (France) Database Assolement Records: 255 000 Cultures: 49 types (wheat, rapeseed, corn, alfafa, grass, ray grass,...) Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 5 Karell tools / 19 B
A long-term observatory for crop rotations and biodiversity at Chizé (France) Fauna & Flora database Observations: 25 000 Species: 160 Behavior date time localisation Nests: 700 Structured data Acquisition is made through Web formula with records into a PostgreSQL database Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 6 Karell tools / 19 B
A long-term observatory for crop rotations and biodiversity at Chizé (France) Our concerns Perennity of the information system Perennity of acquisition system for crop rotations Efficient support for spatio-temporal analysis [Howenstine, 1993] Integrating various other observation systems with it Spatial-temporal data analysis Building new ecological indicators by crossing easily biodiversity and crop rotations data Publishing data on the Web for every citizens Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 7 Karell tools / 19 B
Some unavoidable changes for the ancient GIS Data modelling : Space-Time Composite [Langran, 1998] Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 8 Karell tools / 19 B
Some unavoidable changes for the ancient GIS Micro-parcels and parcel are linked by an association class supporting time Figure: Space-Time Composite used since 1994 Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 1 11, Michel Juneopen-source 2014 Ménard 2, 9 Karell tools / 19 B
Some unavoidable changes for the ancient GIS The ancient system architecture : a mix of Access, ArcGIS, PostgreSQL, MapServer, shapefiles Development cost : around 1 man/year, 2 years. Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 10, Karell tools / 19 B
Some unavoidable changes for the ancient GIS ARC GIS interface : a lot a stuff for manipulating geometries stored in ACCESS (VBA programming) Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 11, Karell tools / 19 B
Migration towards an open-source GIS solution Migration toward PostgreSQL with QGIS as an interface for crop rotations management PostGIS: efficiency of spatial dimension QGIS: open-source, QGIS Python API 1.8 is documented Enhance consistency since geometries and attributes are administrated in the same interface, same software. Fusion of databases: Assolement and Faune & Flore Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 12, Karell tools / 19 B
Migration towards an open-source GIS solution The new architecture : moving forward open data and Web access Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 13, Karell tools / 19 B
Migration towards an open-source GIS solution Database Migration of Access toward Postgres/PostGIS : 1 week Size: 400 Mb (bigest table: 400 000 records) Standardization of spatial dimension: geometry attribut is integrated inside the database model Management of user rights through database roles Functions and tools around it Quick to develop: Migration VBA toward Python : 3 months Powerful: Grouping more than 43 use cases inside one unique plugin QGIS - harmonization of data processing, less prone to errors Performances: get historic of land use for one parcel in less than 5 s against 2 min before Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 14, Karell tools / 19 B
Migration towards an open-source GIS solution Have a look on the QGIS plugin interface, named Assolement Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 15, Karell tools / 19 B
Migration towards an open-source GIS solution Management of spatio-temporal data inside layered oriented GIS 1 PPP layer is a join between parcels (having attributes) and microparcels (having geometries) for one given date 2 PPP layer had to be used like a view because of problems with performances 3 but a view can t be updated from QGIS so we had to report changes into database : dirty design Project manager considerations Code is under GPL v3, in university SVN https://svn.univ-lr.fr/project/sig_zone_atelier Nevertheless it is not reusable for someone else unless he/she reuses the same database model. Making this reusable would require a considerable effort (mediator/adaptator approachs) that we can not afford by ourselves, since we have not enough human ressource. Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 16, Karell tools / 19 B
Conclusion et perspectives Conclusion: very usefull for ecologists Analysis performances: OK Fusion of databases inside one SGBD: good for facilitating the cross-analysis of data and for opening data to a larger audience Management of user rights: secure the access to data Perspective: a work that prepare deeper collaborations Further research and development of the GIS research: Integrate by dynamic mapping new data sources of the observatory instead of a full migration development: WebGIS showing aggregated data (Geoserver + OpenLayers.js/d3.js) Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 17, Karell tools / 19 B
References E. Howenstine Measuring Demographic Change: The Split Tract Problem The Professional Geographer vol. 45, no. 4, pp. 425 430, 1993. G. E. Langran and N. R. Chrisman A Framework for Temporal Geographic Information Cartographica: The International Journal for Geographic Information and Geovisualization vol. 25, no. 3, pp. 1 14, 1998. G. D. Mondo, J. G. Stell, C. Claramunt, and R. Thibaud A Graph Model for Spatio-temporal Evolution Journal of Universal Computer Science vol. 16, no. 11, pp. 1452 1477, 2010. C. Plumejeaud, H. Mathian, J. Gensel, and C. Grasland Spatio-temporal analysis of territorial changes from a multi-scale perspective International Journal of Geographical Information Systems vol. 25, no. 11, pp. 1597 1612, Nov. 2011. Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 18, Karell tools / 19 B
Thank you for your attention Christine Plumejeaud 1, Bruno Lescalier 2, Vincent Management Bretagnolle of 3 history, Tran of Bathe Huy rotation 2, Alain of Bouju agricultural 2, Nathalie parcels Longthrough 11 1, Michel June open-source 2014 Ménard 2 19, Karell tools / 19 B