This project has moved and is read-only. For the latest updates, please go here.

PostGIS Raster Layer

Oct 30, 2013 at 8:50 PM
Is it possible to use a PostGIS Raster Table layer in SharpMap? Haven't seen any mention in any threads or a quick review of the code. I am using SharpMap in a Winform if that helps.
Nov 3, 2013 at 7:23 PM
have you had a look at

If I understand that correctly you have to pass something like the following as filename:
var gdal = new GdalRasterLayer("PG\":host='<host>' port:'<port>' dbname='<dbname>' user='<user>' password='<password>' [schema='<schema>'] [table='<raster_table>'] [where='<sql_where>'] [mode='<working_mode>']\"");
Hth FObermaier
Nov 5, 2013 at 12:48 PM
Thanks, I'll look into it. I had to stop experimenting and do a project. As soon as I have some time I will try this.