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

andy aborruso at gmail.com
Mon Dec 4 23:13:40 PST 2023


Hi Regina,
I'm running all from docker.
"/directory_docker" is pointing to a folder on my host machine.

If I run

SELECT * FROM pg_ls_dir('/directory_docker');

I get my files

       pg_ls_dir
-----------------------
 ou_s6_01_01_stack.sql
 ou_s6_01_01_stack.tif
(2 rows)

But, if I run

SELECT * FROM pg_stat_file('/directory_docker/ou_s6_01_01_stack.tif ');

I have the same error I do not know how to solve

ERROR: could not stat file "/directory_docker/ou_s6_01_01_stack.tif ": No
such file or directory

Thank you


-- 
___________________

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___________________

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20231205/ed421002/attachment.htm>


More information about the postgis-users mailing list