Skip to content

postgis_raster extension not loaded #161

@matburnham

Description

@matburnham

flask database init doesn't create extension postgis_raster so raster2pgsql fails:

$ raster2pgsql *.tif -s 4326 -d -M -C -I -F -t 25x25 public.elevation | psql -d ogn
Processing 1/4: 30N000E_20101117_gmted_mea075.tif
BEGIN
NOTICE:  table "elevation" does not exist, skipping
DROP TABLE
ERROR:  type "raster" does not exist
LINE 1: ...lic"."elevation" ("rid" serial PRIMARY KEY,"rast" raster,"fi...
                                                             ^
ERROR:  current transaction is aborted, commands ignored until end of transaction block

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions