Merge branch 'develop' of github.com:kartoza/docker-osm into develop

pull/87/head
admire 2019-11-04 14:45:11 +02:00
commit 738f7555c8
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -155,7 +155,7 @@ class Importer(object):
self.info('Mapping: ' + self.osm_file)
if not self.post_import_file:
self.info('No custom SQL files *.sql detected in %s' % self.default['SETTINGS'])
self.info('No custom SQL files post-pbf-import.sql detected in %s' % self.default['SETTINGS'])
else:
self.info('SQL Post Import: ' + self.post_import_file)

Wyświetl plik

@ -104,10 +104,11 @@ make remove_styles
make backup_styles
```
### SQL Trigger
### SQL Trigger, functions, views...
You can add PostGIS functions, triggers, materialized views in the clip SQL file. You need to run
`make import_sql` to run the clip SQL file
You can add PostGIS functions, triggers, materialized views in a
SQL file called `post-pbf-import.sql`.
It will be imported automatically in the database.
### Build and run