kopia lustrzana https://github.com/kartoza/docker-osm
fix #85 update readme about custom SQL file
rodzic
e29ce8c08b
commit
49b329e55e
|
@ -155,7 +155,7 @@ class Importer(object):
|
||||||
self.info('Mapping: ' + self.osm_file)
|
self.info('Mapping: ' + self.osm_file)
|
||||||
|
|
||||||
if not self.post_import_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:
|
else:
|
||||||
self.info('SQL Post Import: ' + self.post_import_file)
|
self.info('SQL Post Import: ' + self.post_import_file)
|
||||||
|
|
||||||
|
|
|
@ -104,10 +104,11 @@ make remove_styles
|
||||||
make backup_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
|
You can add PostGIS functions, triggers, materialized views in a
|
||||||
`make import_sql` to run the clip SQL file
|
SQL file called `post-pbf-import.sql`.
|
||||||
|
It will be imported automatically in the database.
|
||||||
|
|
||||||
### Build and run
|
### Build and run
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue