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 will cover the configuration of periodic updates of this Data source with a Listener.
With the eVouala Web platform, you can easily import in your Library various formats of geographic data found on the Web. In your Library you can organize, view and manage all your Data sources. Here are the current supported formats:
- CSV (points, addresses)
- MapInfo MIF/TAB
- GPX (points, ways)
- ESRI File Geodatabase
- GDAL/OGR Virtual Datasets (VRT)
- Raster files (GeoTIFF, GRD, and other GDAL-supported formats)
With an intuitive import wizard you can either drag and drop the file in the web page or select it in your explorer. If the Data source contains many files, it needs to be compressed into a zip file first.
The British Columbia Ministry of Energy and Mines publishes weekly updates of their Mineral Inventory (MINFILE) database which can be downloaded in Shapefile format. The Mineral Inventory includes descriptive, geological, located and economical information on over 13,900 industrial mines throughout the province. This dataset makes for a perfect example for the three parts of this blog article.
You will find on the Ministry’s Web site the zip file that contains the weekly updated Mineral Inventory Shapefiles compressed into a zip file.
Once you have downloaded the zip file, select it through the import wizard and click on Upload. You can then edit some basic parameters such as the name of the Data source, the description and the keywords (in order to make research easier). The platform will try to detect the projection of your Data source. However, if no projection is detected, you will have to set one. The platform will also inform you about the number of features contained in the spatial file you want to import. Finally, you can select a thumbnail from your desktop for the Data source in your Library.
The import process loads the information in the internal geospatial database of the platform (Postgresql/PostGIS). Once the import is completed, you can either import more data, go back to your Library or view your new dataset on a map:
If the file to be imported is too large, the server will complete the task in the background and you will receive an email when the process is over.