@@ -19,7 +19,7 @@ a simpler setup and deployment of a 3DCityDB instance.
19
19
20
20
## 3DCityDB setup steps
21
21
22
- ### Step 1 - Create an empty PostgreSQL database
22
+ ### Step 1: Create an empty PostgreSQL database
23
23
24
24
The first step is to create a new, empty database on your PostgreSQL server. Use a superuser or a database user
25
25
with the ` CREATEDB ` permission to do so. While not required, it is recommended to select or create a dedicated user
@@ -36,7 +36,7 @@ CREATE DATABASE citydb_v5 OWNER citydb_user;
36
36
graphical database client [ ` pgAdmin ` ] ( https://www.pgadmin.org/ ) . Refer to the documentation of your preferred tool
37
37
for more information.
38
38
39
- ### Step 2 - Add the PostGIS extension
39
+ ### Step 2: Add the PostGIS extension
40
40
41
41
The 3D City Database requires the PostGIS extension to be added to the database. This can only be done by a superuser.
42
42
Use the following command to add the PostGIS extension:
@@ -53,7 +53,7 @@ CREATE EXTENSION postgis;
53
53
CREATE EXTENSION postgis_sfcgal;
54
54
```
55
55
56
- ### Step 3 - Edit the ` connection-details ` script
56
+ ### Step 3: Edit the ` connection-details ` script
57
57
58
58
Now it's time to use the 3DCityDB setup scripts. Navigate to the ` 3dcitydb/postgresql/shell-scripts ` directory
59
59
where you have unzipped the 3DCityDB software package, or locate this folder within the installation directory of
@@ -94,7 +94,7 @@ Below is an example of the required information to include in the `connection-de
94
94
If the ` psql ` executable is already on your ` PATH ` , you can comment out or remove the line setting
95
95
the ` PGBIN ` variable in the script.
96
96
97
- ### Step 4 - Execute the ` create-db ` script
97
+ ### Step 4: Execute the ` create-db ` script
98
98
99
99
Once the connection details have been set in the ` connection-details ` file, execute the ` create-db.[sh|bat] ` script
100
100
located in the same folder to begin the setup process. You can do this either by double-clicking the script or
@@ -132,7 +132,7 @@ After executing the script, a welcome message along with usage hints will be dis
132
132
will prompt the user for several essential parameters required for setting up the 3DCityDB instance.
133
133
The details of these user inputs are explained in the following steps.
134
134
135
- ### Step 5 – Specify the coordinate reference system
135
+ ### Step 5: Specify the coordinate reference system
136
136
137
137
You are prompted for the coordinate reference system (CRS) to be used for the 3DCityDB instance.
138
138
Simply enter the PostGIS-specific SRID (** S** patial ** R** eference ** ID** ) of the CRS. In most cases, the SRID will be
@@ -156,7 +156,7 @@ identical to the EPSG code of the CRS. There are three parameters that need to b
156
156
` citydb_pkg.change_schema_srid ` . Refer to the [ database procedures section] ( ../3dcitydb/db-functions.md ) for
157
157
more information.
158
158
159
- ### Step 6 – Create changelog extension
159
+ ### Step 6: Create changelog extension
160
160
161
161
You can choose whether to create the changelog extension for your 3DCityDB instance. The changelog
162
162
extension adds a table to the 3DCityDB schema, where insert, delete, and update operations on top-level city objects
@@ -172,7 +172,7 @@ can be confirmed by simply pressing ++enter++.
172
172
The changelog extension can be installed and removed at any time after setup using the shell scripts
173
173
` create-changelog ` and ` drop-changelog ` .
174
174
175
- ### Step 7 - Execute the installation
175
+ ### Step 7: Execute the installation
176
176
177
177
Finally, enter the password for the database user provided in the ` connection-details ` script. Afterward,
178
178
the setup process will begin, and log messages informing you about the progress will be printed to the console.
0 commit comments