[Qgis-user] Clip raster with vectorlayer in Postgis

Lene Fischer lfi at ign.ku.dk
Wed Jan 10 03:58:27 PST 2018


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
lfi at ign.ku.dk<mailto:lfi at ign.ku.dk>


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

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



From: Casper Bertelsen [mailto:casperbj94 at gmail.com]
Sent: 10. januar 2018 11:51
To: Lene Fischer; qgis-user at 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: casperbj94 at gmail.com<mailto:casperbj94 at 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
lfi at ign.ku.dk<mailto:lfi at ign.ku.dk>


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

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



From: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Casper Bertelsen
Sent: 10. januar 2018 09:52
To: qgis-user at lists.osgeo.org<mailto:qgis-user at 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: casperbj94 at gmail.com<mailto:casperbj94 at 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
lfi at ign.ku.dk<mailto:lfi at ign.ku.dk>






_______________________________________________

Qgis-user mailing list

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

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

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180110/a5d6da44/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4971 bytes
Desc: image001.gif
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180110/a5d6da44/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1280 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180110/a5d6da44/attachment.png>


More information about the Qgis-user mailing list