Skip to content

Commit

Permalink
flip function order
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Feb 12, 2024
1 parent f8dd27a commit ead227e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Therefore, the following options are required for Osm2pgsql: `--slim --merc --st
After importing OSM data into the database, you have to create a couple of views, install some custom functions and compute the label ranking of stations. Please run the following SQL scripts in the following order:

```sh
psql -d gis -f sql/osm_carto_views.sql
psql -d gis -f sql/functions.sql
psql -d gis -f sql/osm_carto_views.sql
psql -d gis -f sql/get_station_importance.sql
```

Expand Down Expand Up @@ -126,8 +126,8 @@ osm2pgsql --create --database gis --hstore --slim --merc --style setup/openstree
The map style accesses the database through a couple of views. In addition, it requires a few custom functions and a precomputed station label ranking. Please run the following SQL scripts in the described order:

```sh
psql -d gis -f sql/osm_carto_views.sql
psql -d gis -f sql/functions.sql
psql -d gis -f sql/osm_carto_views.sql
psql -d gis -f sql/get_station_importance.sql
```

Expand Down
2 changes: 1 addition & 1 deletion docker-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ EOF
/tmp/filtered.osm.pbf

# Post processing imported data
psql -d gis -f sql/osm_carto_views.sql && \
psql -d gis -f sql/functions.sql && \
psql -d gis -f sql/osm_carto_views.sql && \
psql -d gis -f sql/get_station_importance.sql
;;

Expand Down

0 comments on commit ead227e

Please sign in to comment.