Ahhh I had forgotten the ’Advanced’ parameter
Thanks.

For other readers – Casper is one of my students yet 5 months before he finish 
his bachelor project ☺


Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
l...@ign.ku.dk<mailto:l...@ign.ku.dk>


[cid:image001.gif@01D38A12.B4B6F550]

[cid:image002.png@01D38A12.B4B6F550]<@Lene_Fischer>



From: Casper Bertelsen [mailto:casperb...@gmail.com]
Sent: 10. januar 2018 11:51
To: Lene Fischer; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Clip raster with vectorlayer in Postgis

Hi Lene

If you go into Advanced parameters in the GDAL-module and you write -cl 
schema.table in Additional creation parameters [optional] it might work. It did 
for me :)

Eks: -cl greg.v_greg_flader

Mvh. / Best regards
Casper Bertelsen

Mail: casperb...@gmail.com<mailto:casperb...@gmail.com>

On 10-01-2018 11:06, Lene Fischer wrote:
Hi Casper,
I need to be able to set the No data value – and in SAGA this option is not 
available.
It works in 2.99 – but my students still use 2.18 – (As you know ;-))


Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
l...@ign.ku.dk<mailto:l...@ign.ku.dk>


[cid:image001.gif@01D38A12.B4B6F550]

[cid:image002.png@01D38A12.B4B6F550]<@Lene_Fischer>



From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Casper 
Bertelsen
Sent: 10. januar 2018 09:52
To: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>
Subject: Re: [Qgis-user] Clip raster with vectorlayer in Postgis

Hi Lene,

Using the Toolbox I get the option to use my vectorlayer from PostGIS. However 
I did not have any luck getting it to clip with the GDAL-clipper (Trying with a 
shape file there was no problem), but using the SAGA Clip raster with polygon 
works fine for me :)

Mvh. / Best regards
Casper Bertelsen

Mail: casperb...@gmail.com<mailto:casperb...@gmail.com>

On 10-01-2018 08:51, Lene Fischer wrote:
Hi
Just started to use PostGIS in QGIS. I only have vector data in postGIS
When I try to clip a raster layer with a vector mask (PostGIS) the layer is not 
shown in the drop down meny.
So I had to ‘Save As’ shape before clipping. Is this correct ?

Regards


Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
l...@ign.ku.dk<mailto:l...@ign.ku.dk>






_______________________________________________

Qgis-user mailing list

Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org>

List info: https://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to