Re: [postgis-users] out db: not able to query the raster

2023-12-06 Thread andy via postgis-users
I should correct myself: I meant to say that if I point directly to the image, postgis doesn't see it. On Thu, 7 Dec 2023 at 08:30, andy wrote: > Good morning, > I still couldn't read the tif. As written before postgis can read the > folder, and it sees the image inside. > But if I point

Re: [postgis-users] out db: not able to query the raster

2023-12-06 Thread andy via postgis-users
Good morning, I still couldn't read the tif. As written before postgis can read the folder, and it sees the image inside. But if I point directly to the folder, it doesn't see it. What am I doing wrong? Sorry to write again, but I am stuck. Thank you -- ___ Andrea Borruso

Re: [postgis-users] out db: not able to query the raster

2023-12-06 Thread Regina Obe via postgis-users
Yah the data directory is less likely to have screwed up permissions that the postgres account can’t access. So I would go with Jorge’s idea. That said I would think that having permission with r r r should do the trick and the fact you can get a directory listing suggests the postgres

Re: [postgis-users] out db: not able to query the raster

2023-12-06 Thread Jorge Gustavo Rocha via postgis-users
Hi Andrea, I always put the raster somewhere below Postgresql data_directory. psql show data_directory; I hope it helps. Saluti, Jorge On 04/12/23 22:23, andy via postgis-users wrote: Hi, if I run "SELECT (ST_BandMetaData(rast)).* FROM rasters_outdb LIMIT 1;", in the field path I have