[Webflysuesk-commits] r57 - in webflysuesk/branches/openlayers-integration: . doc doc/postgis
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Apr 20 11:24:10 CEST 2009
Author: iweinzierl
Date: 2009-04-20 11:24:10 +0200 (Mon, 20 Apr 2009)
New Revision: 57
Added:
webflysuesk/branches/openlayers-integration/doc/postgis/
webflysuesk/branches/openlayers-integration/doc/postgis/achse-schema.sql
webflysuesk/branches/openlayers-integration/doc/postgis/bauwerke-schema.sql
webflysuesk/branches/openlayers-integration/doc/postgis/kilometrierung-schema.sql
webflysuesk/branches/openlayers-integration/doc/postgis/querprofile-schema.sql
webflysuesk/branches/openlayers-integration/doc/postgis/rohre_graben_damm-schema.sql
webflysuesk/branches/openlayers-integration/doc/postgis/usk_gf_ergebnis-shema.sql
Modified:
webflysuesk/branches/openlayers-integration/ChangeLog.txt
Log:
Added sql schemata for creating necessary PostGIS tables.
Modified: webflysuesk/branches/openlayers-integration/ChangeLog.txt
===================================================================
--- webflysuesk/branches/openlayers-integration/ChangeLog.txt 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/ChangeLog.txt 2009-04-20 09:24:10 UTC (rev 57)
@@ -1,3 +1,13 @@
+2009-04-20 Ingo Weinzierl <ingo.weinzierl at intevation.de>
+
+ * doc/postgis/achse-schema.sql,
+ doc/postgis/bauwerke-schema.sql,
+ doc/postgis/querprofile-schema.sql,
+ doc/postgis/kilometrierung-schema.sql,
+ doc/postgis/usk_gf_ergebnis-shema.sql,
+ doc/postgis/rohre_graben_damm-schema.sql: SQL schemata for creating
+ necessary PostGIS tables.
+
2009-04-09 Ingo Weinzierl <ingo.weinzierl at intevation.de>
* webflys/src/main/webapp/pages/main.jsp: Map and result panel outsourced.
Added: webflysuesk/branches/openlayers-integration/doc/postgis/achse-schema.sql
===================================================================
--- webflysuesk/branches/openlayers-integration/doc/postgis/achse-schema.sql 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/doc/postgis/achse-schema.sql 2009-04-20 09:24:10 UTC (rev 57)
@@ -0,0 +1,10 @@
+SELECT DropGeometryColumn('','achse','the_geom');
+DROP TABLE "achse";
+BEGIN;
+CREATE TABLE "achse" (
+gid serial PRIMARY KEY,
+"id" int8,
+gewaesser character varying(50)
+);
+SELECT AddGeometryColumn('','achse','the_geom','-1','MULTILINESTRING',2);
+END;
Added: webflysuesk/branches/openlayers-integration/doc/postgis/bauwerke-schema.sql
===================================================================
--- webflysuesk/branches/openlayers-integration/doc/postgis/bauwerke-schema.sql 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/doc/postgis/bauwerke-schema.sql 2009-04-20 09:24:10 UTC (rev 57)
@@ -0,0 +1,9 @@
+SELECT DropGeometryColumn('','bauwerke','the_geom');
+DROP TABLE "bauwerke";
+BEGIN;
+CREATE TABLE "bauwerke" (gid serial PRIMARY KEY,
+"id" int4,
+"name" varchar(50),
+"gewaesser" varchar(50));
+SELECT AddGeometryColumn('','bauwerke','the_geom','-1','MULTILINESTRING',2);
+END;
Added: webflysuesk/branches/openlayers-integration/doc/postgis/kilometrierung-schema.sql
===================================================================
--- webflysuesk/branches/openlayers-integration/doc/postgis/kilometrierung-schema.sql 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/doc/postgis/kilometrierung-schema.sql 2009-04-20 09:24:10 UTC (rev 57)
@@ -0,0 +1,12 @@
+SELECT DropGeometryColumn('','kilometrierung','the_geom');
+DROP TABLE "kilometrierung";
+BEGIN;
+CREATE TABLE "kilometrierung" (gid serial PRIMARY KEY,
+"inp" float8,
+"x" numeric,
+"y" numeric,
+"gewaesser" varchar(35),
+"noname" varchar(9),
+"km" float8);
+SELECT AddGeometryColumn('','kilometrierung','the_geom','-1','POINT',2);
+END;
Added: webflysuesk/branches/openlayers-integration/doc/postgis/querprofile-schema.sql
===================================================================
--- webflysuesk/branches/openlayers-integration/doc/postgis/querprofile-schema.sql 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/doc/postgis/querprofile-schema.sql 2009-04-20 09:24:10 UTC (rev 57)
@@ -0,0 +1,13 @@
+SELECT DropGeometryColumn('','querprofile','the_geom');
+DROP TABLE "querprofile";
+BEGIN;
+CREATE TABLE "querprofile" (gid serial PRIMARY KEY,
+"entity" varchar(14),
+"layer" varchar(32),
+"elevation" float8,
+"thickness" float8,
+"color" int4,
+"kilometer" float8,
+"gewaesser" varchar(50));
+SELECT AddGeometryColumn('','querprofile','the_geom','-1','MULTILINESTRING',2);
+END;
Added: webflysuesk/branches/openlayers-integration/doc/postgis/rohre_graben_damm-schema.sql
===================================================================
--- webflysuesk/branches/openlayers-integration/doc/postgis/rohre_graben_damm-schema.sql 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/doc/postgis/rohre_graben_damm-schema.sql 2009-04-20 09:24:10 UTC (rev 57)
@@ -0,0 +1,19 @@
+SELECT DropGeometryColumn('','rohre_graben_damm','the_geom');
+DROP TABLE "rohre_graben_damm";
+BEGIN;
+CREATE TABLE "rohre_graben_damm" (gid serial PRIMARY KEY,
+"geodb_oid" int8,
+"rowid" int8,
+"quellsyste" varchar(30),
+"objektart" varchar(30),
+"objekt_nr" numeric,
+"typ" int4,
+"typ_text" varchar(8),
+"lage" numeric,
+"level" int4,
+"user_id" varchar(254),
+"lagequalit" varchar(30),
+"gewaesser" varchar(50),
+"geom_len" numeric);
+SELECT AddGeometryColumn('','rohre_graben_damm','the_geom','-1','MULTILINESTRING',2);
+END;
Added: webflysuesk/branches/openlayers-integration/doc/postgis/usk_gf_ergebnis-shema.sql
===================================================================
--- webflysuesk/branches/openlayers-integration/doc/postgis/usk_gf_ergebnis-shema.sql 2009-04-09 12:14:52 UTC (rev 56)
+++ webflysuesk/branches/openlayers-integration/doc/postgis/usk_gf_ergebnis-shema.sql 2009-04-20 09:24:10 UTC (rev 57)
@@ -0,0 +1,48 @@
+--
+-- PostgreSQL database dump
+--
+
+SET client_encoding = 'LATIN9';
+SET check_function_bodies = false;
+SET client_min_messages = warning;
+
+SET search_path = public, pg_catalog;
+
+SET default_tablespace = '';
+
+SET default_with_oids = false;
+
+--
+-- Name: usk_gf_ergebnis; Type: TABLE; Schema: public; Owner: webflys; Tablespace:
+--
+DROP TABLE usk_gf_ergebnis;
+
+CREATE TABLE usk_gf_ergebnis (
+ arcsde_rowid serial NOT NULL,
+ quellsystem character varying(30),
+ objektart character varying(30),
+ objekt_nr integer,
+ job_id integer NOT NULL,
+ diff numeric(16,4) NOT NULL,
+ user_id character varying(255) NOT NULL,
+ description character varying(255),
+ status integer NOT NULL,
+ startzeit timestamp without time zone,
+ stopzeit timestamp without time zone,
+ gewaesser character varying(50) NOT NULL,
+ lagequalitaet character varying(30),
+ geom geometry,
+ meinezeit date,
+ CONSTRAINT enforce_dims_geom CHECK ((ndims(geom) = 2)),
+ CONSTRAINT enforce_geotype_geom CHECK (((geometrytype(geom) = 'MULTIPOLYGON'::text) OR (geom IS NULL)))
+);
+
+
+ALTER TABLE public.usk_gf_ergebnis OWNER TO webflys;
+
+--
+-- Name: usk_gf_ergebnis_arcsde_rowid_seq; Type: SEQUENCE SET; Schema: public; Owner: webflys
+--
+
+SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('usk_gf_ergebnis', 'arcsde_rowid'), 1871, true);
+
More information about the Webflysuesk-commits
mailing list