Skip to content

Commit

Permalink
Merge pull request #1579 from henrykironde/postgres-layers
Browse files Browse the repository at this point in the history
Add pyramid levels
  • Loading branch information
ethanwhite committed Apr 6, 2021
2 parents 58525bf + 1f09c74 commit a1d26ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retriever/engines/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def insert_raster(self, path=None, srid=4326):
if not path:
path = Engine.format_data_dir(self)

raster_sql = ('raster2pgsql -Y -M -d -I -s {SRID} "{path}"'
raster_sql = ('raster2pgsql -Y -M -d -I -l 2 -s {SRID} "{path}"'
" -F -t 100x100 {SCHEMA_DBTABLE}".format(
SRID=srid,
path=os.path.normpath(path),
Expand Down

0 comments on commit a1d26ba

Please sign in to comment.