Project

General

Profile

Gisaf - Auxiliary Data (non-geographical data) » History » Version 1

Giulio Di Anastasio, 05/05/2021 17:34

1 1 Giulio Di Anastasio
h1. Gisaf - Auxiliary Data (non-geographical data)
2 1 Giulio Di Anastasio
3 1 Giulio Di Anastasio
4 1 Giulio Di Anastasio
Besides the importation of [[shapefiles]], Gisaf can import non-geographical information: auxiliary data (typically categories like the list of locations names, well types, etc), and temporal informations (well levels, etc).
5 1 Giulio Di Anastasio
6 1 Giulio Di Anastasio
h2. Command line
7 1 Giulio Di Anastasio
8 1 Giulio Di Anastasio
The @import_to_db.py@ script imports files, fetched from a set of URLs (typically, in the Redmine Files section of this project), formats and pre-process, and imports to the database.
9 1 Giulio Di Anastasio
10 1 Giulio Di Anastasio
@import_to_db.py@ is a support tool, that is planned to be integrated with the web interface.
11 1 Giulio Di Anastasio
12 1 Giulio Di Anastasio
Import all with:
13 1 Giulio Di Anastasio
14 1 Giulio Di Anastasio
<pre>
15 1 Giulio Di Anastasio
phil@phil-mbp:~/BlueLight/gisaf_src/gisaf$ python import_to_db.py
16 1 Giulio Di Anastasio
</pre>
17 1 Giulio Di Anastasio
18 1 Giulio Di Anastasio
The script currently accepts an argument for filtering the URLs to import.