Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
database-source
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Global Dynamic Exposure
OpenBuildingMap
database-source
Commits
fa916d85
Commit
fa916d85
authored
Aug 7, 2024
by
Laurens Jozef Nicolaas Oostwegel
Browse files
Options
Downloads
Patches
Plain Diff
Add the GHSL height table
parent
780ed9cf
No related branches found
No related tags found
1 merge request
!2
Resolve "Add the average net building height layer from GHSL to the source database"
Pipeline
#76342
passed
Aug 7, 2024
Stage: test
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
README.md
+9
-0
9 additions, 0 deletions
README.md
migrations/00002_add_ghsl_height_table.sql
+26
-0
26 additions, 0 deletions
migrations/00002_add_ghsl_height_table.sql
with
36 additions
and
0 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
fa916d85
.idea
This diff is collapsed.
Click to expand it.
README.md
+
9
−
0
View file @
fa916d85
...
...
@@ -26,6 +26,15 @@ Please add a small reasoning around the following points for each proposed merge
| geom | geometry (MultiPolygon, 4326) | Geometry in WGS84 coordinate system. |
#### `ghsl_height`
| Column name | Data type | Description |
|-------------|-------------------------------|--------------------------------------|
| id | serial (primary key) | Identifier. |
| height | real | Height in meter. |
| geom | geometry (MultiPolygon, 4326) | Geometry in WGS84 coordinate system. |
#### `google_buildings`
| Column name | Data type | Description |
...
...
...
...
This diff is collapsed.
Click to expand it.
migrations/00002_add_ghsl_height_table.sql
0 → 100644
+
26
−
0
View file @
fa916d85
-- Copyright (c) 2024:
-- Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
--
-- This program is free software: you can redistribute it and/or modify it
-- under the terms of the GNU Affero General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or (at
-- your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
-- General Public License for more details.
--
-- You should have received a copy of the GNU Affero General Public License
-- along with this program. If not, see http://www.gnu.org/licenses/.
-- Add the `ghsl_height` table.
CREATE
TABLE
public
.
ghsl_height
(
id
serial
NOT
NULL
PRIMARY
KEY
,
height
real
,
geom
GEOMETRY
(
MULTIPOLYGON
,
4326
)
);
-- Add the indexes to the `ghsl_height` table.
CREATE
INDEX
ghslheight_geom_idx
ON
public
.
ghsl_height
USING
gist
(
geom
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment