aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-09-26 03:10:56 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-09-26 03:18:48 +0200
commitbb255e8e67008ea98ef77b23eb74542406fb9bc4 (patch)
tree8c88a8a2359d6ce86b2d1425f835ffc9ad4d2112
parent1f1e3a933857b7884bf671251e3fef866ea245fa (diff)
Ignore field ‘OBJECTID’ on the layers from Sametinget.
Looks like a FID sequence, so not really useful for us…
-rw-r--r--config.yml16
-rw-r--r--schema.sql36
2 files changed, 0 insertions, 52 deletions
diff --git a/config.yml b/config.yml
index 6ee2a99..9f760e4 100644
--- a/config.yml
+++ b/config.yml
@@ -675,10 +675,6 @@ layers:
# https://ext-dokument.lansstyrelsen.se/Gemensamt/Geodata/Datadistribution/Information,%20Skiktf%C3%B6rteckning%20och%20f%C3%B6rklaringar.pdf
geometry-type: MULTIPOLYGON
fields:
- - name: OBJECTID
- type: Integer
- unique: true
- nullable: false
- name: SAMEBY_ID
type: Integer
unique: true
@@ -733,10 +729,6 @@ layers:
# https://ext-dokument.lansstyrelsen.se/Gemensamt/Geodata/Datadistribution/Information,%20Skiktf%C3%B6rteckning%20och%20f%C3%B6rklaringar.pdf
geometry-type: MULTILINESTRING
fields:
- - name: OBJECTID
- type: Integer
- unique: true
- nullable: false
- name: LED_ID
type: Integer
nullable: false
@@ -816,10 +808,6 @@ layers:
create:
geometry-type: MULTIPOLYGON
fields:
- - name: OBJECTID
- type: Integer
- unique: true
- nullable: false
- name: LAGRUM
type: String
width: 254
@@ -864,10 +852,6 @@ layers:
create:
geometry-type: MULTIPOLYGON
fields:
- - name: OBJECTID
- type: Integer
- unique: true
- nullable: false
- name: LANK
type: String
width: 254
diff --git a/schema.sql b/schema.sql
index e119193..077f7f2 100644
--- a/schema.sql
+++ b/schema.sql
@@ -537,7 +537,6 @@ ALTER SEQUENCE postgis."mrr:torvkoncessioner_ogc_fid_seq" OWNED BY postgis."mrr:
CREATE TABLE postgis."ren:omr_riks" (
ogc_fid bigint NOT NULL,
- "OBJECTID" integer NOT NULL,
"LANK" character varying(254) NOT NULL,
"LANSKOD" character varying(25) NOT NULL,
"OMR_NR" integer,
@@ -587,7 +586,6 @@ ALTER SEQUENCE postgis."ren:omr_riks_ogc_fid_seq" OWNED BY postgis."ren:omr_riks
CREATE TABLE postgis."ren:riks_ren" (
ogc_fid bigint NOT NULL,
- "OBJECTID" integer NOT NULL,
"LAGRUM" character varying(254) NOT NULL,
"AKTUALITET" date NOT NULL,
"SIGNATUR" character varying(25) NOT NULL,
@@ -633,7 +631,6 @@ ALTER SEQUENCE postgis."ren:riks_ren_ogc_fid_seq" OWNED BY postgis."ren:riks_ren
CREATE TABLE postgis."sametinget:betesomraden" (
ogc_fid bigint NOT NULL,
- "OBJECTID" integer NOT NULL,
"SAMEBY_ID" integer NOT NULL,
"BY_ID" integer,
"NAMN" character varying(62) NOT NULL,
@@ -682,7 +679,6 @@ ALTER SEQUENCE postgis."sametinget:betesomraden_ogc_fid_seq" OWNED BY postgis."s
CREATE TABLE postgis."sametinget:flytled" (
ogc_fid bigint NOT NULL,
- "OBJECTID" integer NOT NULL,
"LED_ID" integer NOT NULL,
"BYNR1" integer NOT NULL,
"BYNR2" integer NOT NULL,
@@ -1421,14 +1417,6 @@ ALTER TABLE ONLY postgis."ren:omr_riks"
--
--- Name: ren:omr_riks ren:omr_riks_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."ren:omr_riks"
- ADD CONSTRAINT "ren:omr_riks_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
---
-- Name: ren:omr_riks ren:omr_riks_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
--
@@ -1445,14 +1433,6 @@ ALTER TABLE ONLY postgis."ren:riks_ren"
--
--- Name: ren:riks_ren ren:riks_ren_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."ren:riks_ren"
- ADD CONSTRAINT "ren:riks_ren_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
---
-- Name: ren:riks_ren ren:riks_ren_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
--
@@ -1461,14 +1441,6 @@ ALTER TABLE ONLY postgis."ren:riks_ren"
--
--- Name: sametinget:betesomraden sametinget:betesomraden_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."sametinget:betesomraden"
- ADD CONSTRAINT "sametinget:betesomraden_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
---
-- Name: sametinget:betesomraden sametinget:betesomraden_SAMEBY_ID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
--
@@ -1493,14 +1465,6 @@ ALTER TABLE ONLY postgis."sametinget:flytled"
--
--- Name: sametinget:flytled sametinget:flytled_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."sametinget:flytled"
- ADD CONSTRAINT "sametinget:flytled_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
---
-- Name: sametinget:flytled sametinget:flytled_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
--