Is there another way to put raster into PostGIS? I have tried with raster2pgsql.exe but it does not recognize raste2pgsql.

enter image description here

  • I don't think that storing images/rasters in a PostgreSQL-db is the most efficient way to store them. Usually PostgreSQL are used for vectors. You might have more potency by storing it as GeoTIFF in a OS-folder system. – MichaelR Feb 24 '17 at 13:43
  • 3
    First problem is the blank in "GIS Database" (you have to quote the path). Besides you have to set more parameter and you have to pipe the result to your database (paramter: host, port, user, etc.). See the docs: postgis.net/docs/manual-2.2/using_raster_dataman.html – Stefan Feb 24 '17 at 13:43
  • Please edit your question to contain error messages as text. This makes your content more readable on all devices, and anyone else with the same question could locate your answer with a text search. As a new user, please take the tour – Vince Feb 25 '17 at 1:30

It's a case of space in your path... try to wrap it into " " or place file in some path without spaces in names

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy