Skip to main content
Question

I get an error "Invalid Layer: Raster layer Provider is not valid" when trying to open a raster I have imported to Postgis using FME 2020.


monicarm
Contributor
Forum|alt.badge.img

I am getting an invalid layer message when trying to open a raster in QGIS. This raster I have imported into Postgis using FME. I was using column=rast . I have set the coordinate system as the reader, but when importing the SRID is not being written.

 

Invalid Layer: Raster layer Provider is not valid (provider: postgresraster, URI: PG: dbname='xxxxx' host=xxxxx port=5432 user='myuser' password='mypassword' sslmode=disable mode=2 schema='myschema' column='rast' table='GEOTIFF'

 

Any tips, how to fix this?

2 replies

Forum|alt.badge.img
  • June 21, 2021

Did you find a solution or workaround? I have the same problem and I am not getting any further.


monicarm
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • June 24, 2021
ubl61 wrote:

Did you find a solution or workaround? I have the same problem and I am not getting any further.

Hi,

No, I didn't get a solution but I found a workaround. I used a rastertiler to import the raster into PostGIS. See below. Just remember to write "rast"as raster column and the SRID in the writter.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings