This article is divided in three parts. The first part covers the data import process, taking shapefiles as example. Then the second part will introduce the creation of a Form to enable editing the attributes of a Data source, and the third and final part covers the configuration of periodic updates of this Data source with a Listener.
Periodic Data Source Update
Like many public organizations, the Ministry of Energy and Mines of British Columbia periodically publishes data updates they are responsible of. This is the case of the mineral inventory of British Columbia. The eVouala platform allows you to automate the complete update process of a dataset available on the Web.
The platform lets you automatically update a Data Source by configuring a Listener. This concept implemented in eVouala uses an event listener mechanism associated with trigger functions. Some of the functions are: sending emails, update data or logging information. All resources of the platform can be monitored through a configurable trigger:
- Data Sources
- GPS Feed
- User Login Activity
The addition of an entity in a data source may, for example, trigger an e-mail when a new record is added to a Data Source, when a user connects to the platform and when he or she opens a map or an application.
Event listeners allow periodic Data Source updates. After downloading the file, the data is loaded in target Data source to replace the original source. There’s no sophisticated update mecanism. The data is deleted and re-uploaded.
This simple process allows keeping up to date layers in a map based on a remote shapefiles published by an external supplier without having to do it manually by a specialized user.
This last post of a serie of three shows how to import a Dataset from an open data portal, how to create an dynamic form and automated update process. This quite complex use case is made easy in the eVouala Platform and shows how an organisation can build a collaboration tool based on spatial open data.