Wiki » Historique » Version 5
Mickael Beaufils, 27/10/2016 12:55
| 1 | 1 | Mickael Beaufils | h1. About WFS App Schema for BoreholeView |
|---|---|---|---|
| 2 | 1 | Mickael Beaufils | |
| 3 | 4 | Mickael Beaufils | h2. # Trusted environment |
| 4 | 1 | Mickael Beaufils | |
| 5 | 4 | Mickael Beaufils | This app schema has been successfully set up with those versions of GeoServer: |
| 6 | 4 | Mickael Beaufils | - BRGM ressource-rec: GeoServer 2.8.0 |
| 7 | 4 | Mickael Beaufils | - BRGM epos-rec: GeoServer 2.9.2 |
| 8 | 1 | Mickael Beaufils | |
| 9 | 1 | Mickael Beaufils | |
| 10 | 4 | Mickael Beaufils | h2. # Link to resources |
| 11 | 1 | Mickael Beaufils | |
| 12 | 4 | Mickael Beaufils | Several content are offered in https://forge.brgm.fr/svnrepository/epos/trunk/tools/geoserver/ |
| 13 | 1 | Mickael Beaufils | |
| 14 | 4 | Mickael Beaufils | |
| 15 | 4 | Mickael Beaufils | |
| 16 | 4 | Mickael Beaufils | h1. # Tips for configuration of App-schema |
| 17 | 4 | Mickael Beaufils | |
| 18 | 4 | Mickael Beaufils | h2. ## workspace |
| 19 | 4 | Mickael Beaufils | |
| 20 | 4 | Mickael Beaufils | The content of workspaces (the gsmlp folder) should be put in your geoserver/data/workspaces. |
| 21 | 4 | Mickael Beaufils | |
| 22 | 4 | Mickael Beaufils | |
| 23 | 1 | Mickael Beaufils | h2. ## DB part |
| 24 | 1 | Mickael Beaufils | |
| 25 | 4 | Mickael Beaufils | App schema provided in SVN is actually set up for one table called "borehole" with those columns: |
| 26 | 1 | Mickael Beaufils | |
| 27 | 1 | Mickael Beaufils | boreholeid bigserial NOT NULL, |
| 28 | 1 | Mickael Beaufils | boreholeviewid character varying(50), |
| 29 | 1 | Mickael Beaufils | identifier character varying(255), |
| 30 | 1 | Mickael Beaufils | name character varying(50), |
| 31 | 1 | Mickael Beaufils | description character varying(255), |
| 32 | 1 | Mickael Beaufils | purpose character varying(50), |
| 33 | 1 | Mickael Beaufils | status character varying(30), |
| 34 | 1 | Mickael Beaufils | drillmethod character varying(50), |
| 35 | 1 | Mickael Beaufils | operator character varying(50), |
| 36 | 1 | Mickael Beaufils | driller character varying(50), |
| 37 | 1 | Mickael Beaufils | drillstartdate date, |
| 38 | 1 | Mickael Beaufils | drillenddate date, |
| 39 | 1 | Mickael Beaufils | startpoint character varying(30), |
| 40 | 1 | Mickael Beaufils | inclinationtype character varying(30), |
| 41 | 1 | Mickael Beaufils | boreholematerialcustodian character varying(50), |
| 42 | 1 | Mickael Beaufils | boreholelength_m numeric(4,0), |
| 43 | 1 | Mickael Beaufils | elevation_m numeric(5,0), |
| 44 | 1 | Mickael Beaufils | elevation_srs character varying(2000), |
| 45 | 1 | Mickael Beaufils | positionalaccuracy numeric(3,0), |
| 46 | 1 | Mickael Beaufils | source character varying(50), |
| 47 | 1 | Mickael Beaufils | parentborehole_uri character varying(2000), |
| 48 | 1 | Mickael Beaufils | metadata_uri character varying(2000), |
| 49 | 1 | Mickael Beaufils | genericsymbolizer character varying(50), |
| 50 | 1 | Mickael Beaufils | cored boolean DEFAULT false, |
| 51 | 1 | Mickael Beaufils | accesstophysicaldrillcore boolean DEFAULT false, |
| 52 | 1 | Mickael Beaufils | drilldepth_m numeric(5,0), |
| 53 | 1 | Mickael Beaufils | existsdetaileddescription boolean DEFAULT false, |
| 54 | 1 | Mickael Beaufils | existsgeophysicallogs boolean DEFAULT false, |
| 55 | 1 | Mickael Beaufils | existsgeologicaldescription boolean DEFAULT false, |
| 56 | 1 | Mickael Beaufils | existsgroundwaterlevel boolean DEFAULT false, |
| 57 | 1 | Mickael Beaufils | existsrockgeochemistry boolean DEFAULT false, |
| 58 | 1 | Mickael Beaufils | existsporegaschemistry boolean DEFAULT false, |
| 59 | 1 | Mickael Beaufils | existsgeotechnicalinfo boolean DEFAULT false, |
| 60 | 4 | Mickael Beaufils | existsgroundwaterchemistry boolean DEFAULT false, |
| 61 | 4 | Mickael Beaufils | purpose_href character varying(255), |
| 62 | 4 | Mickael Beaufils | status_href character varying(255), |
| 63 | 4 | Mickael Beaufils | drillingmethod_href character varying(255), |
| 64 | 4 | Mickael Beaufils | inclinationtype_href character varying(255), |
| 65 | 4 | Mickael Beaufils | startpoint_href character varying(255) |
| 66 | 4 | Mickael Beaufils | |
| 67 | 4 | Mickael Beaufils | |
| 68 | 4 | Mickael Beaufils | |
| 69 | 5 | Mickael Beaufils | h2. ## app-schema.properties |
| 70 | 4 | Mickael Beaufils | |
| 71 | 4 | Mickael Beaufils | This file should be put in geoserver/WEB-INF/classes. |
| 72 | 5 | Mickael Beaufils | Information from it are used by the datastore part of the gsmlp_BoreholeView.xml file from workspaces. |
| 73 | 4 | Mickael Beaufils | It actually indicate how app-schema should connect to your database. |