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.

  • October 26, 2020
  • 2 replies
  • 115 views

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

Forum|alt.badge.img
  • 1 reply
  • 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
  • 8 replies
  • June 24, 2021

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.