-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Zones Administratives] Ajout des zones administratives (#1156)
## Related Pull Requests & Issues - resolve #857 - resolve #861 - resolve #862 - resolve #863 - resolve #803
- Loading branch information
Showing
31 changed files
with
427 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
backend/src/main/resources/db/migration/layers/V0.114__add_administrative_layers.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
CREATE TABLE IF NOT EXISTS public.transversal_sea_limit_areas ( | ||
id integer PRIMARY KEY, | ||
geom public.geometry(MultiLineString,4326), | ||
objnam character varying(254) | ||
); | ||
CREATE INDEX IF NOT EXISTS transversal_sea_limit_areas_geom_sidx ON public.transversal_sea_limit_areas USING gist (geom); | ||
|
||
|
||
CREATE TABLE IF NOT EXISTS public.saltwater_limit_areas ( | ||
id integer PRIMARY KEY, | ||
geom public.geometry(MultiLineString,4326), | ||
objnam character varying(254) | ||
); | ||
CREATE INDEX IF NOT EXISTS saltwater_limit_areas_geom_sidx ON public.saltwater_limit_areas USING gist (geom); | ||
|
||
CREATE TABLE IF NOT EXISTS public.territorial_seas ( | ||
ogc_fid integer PRIMARY KEY, | ||
inspireid text, | ||
type text, | ||
descriptio text, | ||
surface numeric, | ||
reference text, | ||
beginlifes text, | ||
territory text, | ||
country text, | ||
agency text, | ||
geom geometry(MultiPolygon,4326) | ||
); | ||
CREATE INDEX IF NOT EXISTS territorial_seas_geom_sidx ON public.territorial_seas USING gist (geom); | ||
|
||
CREATE TABLE IF NOT EXISTS public.straight_baseline ( | ||
ogc_fid integer PRIMARY KEY, | ||
inspireid text, | ||
geom geometry(MultiLineString,4326), | ||
nature text, | ||
type text, | ||
descriptio text, | ||
reference text, | ||
beginlifes text, | ||
territory text, | ||
country text, | ||
agency text | ||
); | ||
CREATE INDEX IF NOT EXISTS straight_baseline_geom_sidx ON public.straight_baseline USING gist (geom); | ||
|
||
CREATE TABLE IF NOT EXISTS public.low_water_line ( | ||
ogc_fid integer PRIMARY KEY, | ||
gid integer, | ||
gml_id text, | ||
cdlaisseea numeric, | ||
typelaisse text, | ||
geom geometry(MultiLineString,4326) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
datascience/src/pipeline/queries/cross/cacem/low_water_line.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SELECT | ||
ogc_fid, | ||
gid, | ||
gml_id, | ||
cdlaisseea, | ||
typelaisse, | ||
geom | ||
FROM prod.low_water_line; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
datascience/src/pipeline/queries/cross/cacem/straight_baseline.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
SELECT | ||
ogc_fid, | ||
nature, | ||
type, | ||
descriptio, | ||
reference, | ||
beginlifes, | ||
territory, | ||
country, | ||
agency, | ||
inspireid, | ||
geom | ||
FROM prod.straight_baseline | ||
WHERE geom IS NOT NULL; |
14 changes: 14 additions & 0 deletions
14
datascience/src/pipeline/queries/cross/cacem/territorial_seas.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
SELECT | ||
ogc_fid, | ||
inspireid, | ||
type, | ||
descriptio, | ||
surface, | ||
reference, | ||
beginlifes, | ||
territory, | ||
country, | ||
agency, | ||
geom | ||
FROM prod.territorial_seas | ||
WHERE geom IS NOT NULL |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
datascience/src/pipeline/queries/cross/cnsp/saltwater_limit_areas.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SELECT | ||
id, | ||
geom, | ||
objnam | ||
FROM prod.saltwater_limit_areas |
5 changes: 5 additions & 0 deletions
5
datascience/src/pipeline/queries/cross/cnsp/transversal_sea_limit_areas.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SELECT | ||
id, | ||
geom, | ||
objnam | ||
FROM prod.transversal_sea_limit_areas |
5 changes: 0 additions & 5 deletions
5
datascience/src/pipeline/queries/cross/n_miles_to_shore_areas.sql
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.