[Qgis-user] Raster Save As GeoTIFF Virtuel Raster -Errors

2016-04-17 Thread Lene Fischer
Hi,
Trying to save a part of a WMS as a GeoTIFF
Right click and Save As.
I Choose a Rendered Image and create a VRT
Same resolution and CRS as the original image.

Click at Add saved file to map.

Now my problems begin:
1: I get an Error – saying ‘Unsupported datasource .TIFF…’
2: When I open the VRT file – It is not saved in the folder I choose – but in a 
new folder with ‘.TIFF’ added as name
3: The image is not placed in the same place as the original. If I save an area 
2x1 km. there is a North/South error aprox. 5 meter. If I save a smaller area 
the error also gets smaller.

Any suggestion what I might do wrong ?

Regards


Lene Fischer
Associate Professor

Department of Geosciences and Natural Resource Management
University of Copenhagen


MOB +45 40115084
l...@ign.ku.dk


[cid:image001.gif@01D03029.2F3EC6A0]



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

Re: [Qgis-user] Raster - values and histogram

2016-04-17 Thread Nicolas Cadieux
Yup, 
I can check on Monday.
Nicolas
On Apr 17, 2016 11:59 AM, Lene Fischer  wrote:







Hi Nicolas,
I have now been reading into the vrt file.

All Nodata are the same -
 
It seems as if the vrt file takes the min max value from the first rasterfile. I have compared data in the browser.
If I go to style>properties and load
‘min-max’ actual values. These values are written into the vrt-file.
So when I close and reopen the vrt file it is back to start again.
 
It seems to be a bug.
Could you do me a favor and try this out before I´ll file a ticket.
 
Regards
Lene Fischer
 
Fra: Qgis-user [mailto:qgis-user-bounces@lists.osgeo.org]
På vegne af Nicolas Cadieux
Sendt: 17. april 2016 14:48
Til: qgis-user@lists.osgeo.org
Emne: Re: [Qgis-user] Raster - values and histogram
 
Hi,
I am not sure if there is a bug but since you have a virtual raster, I would look to see if they all have the same no data values.  Try loading only one raster or try saving the virtual raster as a tif  and setting the no data value.  Do you have the same
 problem?  
If Qgis does not recognize the no data value, it may be thrown out by trying to stretch the image from -32768 to whatever you have.  In that case, your raster will not be "viewed correctly" as it is trying to display more than 256 shades which is the max
 a screen can handle. In that case you would see only black and white.
Hope this help!
Nicolas

On Apr 17, 2016 8:22 AM, "Lene Fischer [via OSGeo.org]" <[hidden email]> wrote:

Hi,
I´m rehearsing my lectures for tomorrow – and using 2.14.1 on windows.
 
When I create a virtual raster the values are not viewed correct. Then I click Stretch Histogram to full data. Nothing happens.
I have to go to properties and load to ‘min-max’ actual values before anything happens.
 
If I use Properties >Histogram and try to Reset and then ReCompute histogram – nothing happens…
 
What do I do wrong?
 
A bit distressed – Giving lectures in raster QGIS tomorrow …
Regard
Lene Fischer


___ 
Qgis-user mailing list 

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





If you reply to this email, your message will be added to the discussion below:

http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624.html



To start a new topic under Quantum GIS - User, email
ml-node+s1560n4125267h38@n6.nabble.com

To unsubscribe from Quantum GIS - User, http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macrounsubscribe_by_codenode4125267codebmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg">click
 here.
http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macromacro_vieweridinstant_html%21nabble%3Aemail.namlbasenabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbsnotify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
 style="font:9px serif">NAML 


 



View this message in context: 
Re: Raster - values and histogram
Sent from the 
Quantum GIS - User mailing list archive at Nabble.com.



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

Re: [Qgis-user] Raster - values and histogram

2016-04-17 Thread Lene Fischer
Hi Nicolas,
I have now been reading into the vrt file.
All Nodata are the same -

It seems as if the vrt file takes the min max value from the first rasterfile. 
I have compared data in the browser.
If I go to style>properties and load ‘min-max’ actual values. These values are 
written into the vrt-file.
So when I close and reopen the vrt file it is back to start again.

It seems to be a bug.
Could you do me a favor and try this out before I´ll file a ticket.

Regards
Lene Fischer

Fra: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] På vegne af Nicolas 
Cadieux
Sendt: 17. april 2016 14:48
Til: qgis-user@lists.osgeo.org
Emne: Re: [Qgis-user] Raster - values and histogram


Hi,

I am not sure if there is a bug but since you have a virtual raster, I would 
look to see if they all have the same no data values.  Try loading only one 
raster or try saving the virtual raster as a tif  and setting the no data 
value.  Do you have the same problem?

If Qgis does not recognize the no data value, it may be thrown out by trying to 
stretch the image from -32768 to whatever you have.  In that case, your raster 
will not be "viewed correctly" as it is trying to display more than 256 shades 
which is the max a screen can handle. In that case you would see only black and 
white.

Hope this help!
Nicolas
On Apr 17, 2016 8:22 AM, "Lene Fischer [via OSGeo.org]" <[hidden 
email]> wrote:

Hi,

I´m rehearsing my lectures for tomorrow – and using 2.14.1 on windows.



When I create a virtual raster the values are not viewed correct. Then I click 
Stretch Histogram to full data. Nothing happens.

I have to go to properties and load to ‘min-max’ actual values before anything 
happens.



If I use Properties >Histogram and try to Reset and then ReCompute histogram – 
nothing happens…



What do I do wrong?



A bit distressed – Giving lectures in raster QGIS tomorrow …

Regard

Lene Fischer

___
Qgis-user mailing list
[hidden
 email]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624.html
To start a new topic under Quantum GIS - User, email 
ml-node+s1560n4125267...@n6.nabble.com
To unsubscribe from Quantum GIS - User, http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macrounsubscribe_by_codenode4125267codebmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg;>click
 here.
http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macromacro_vieweridinstant_html%21nabble%3Aemail.namlbasenabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbsnotify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml;
 style="font:9px serif">NAML


View this message in context: Re: Raster - values and 
histogram
Sent from the Quantum GIS - User mailing list 
archive at 
Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Raster - values and histogram

2016-04-17 Thread Nicolas Cadieux
Hi, 
I am not sure if there is a bug but since you have a virtual raster, I would 
look to see if they all have the same no data values. Try loading only 
one raster or try saving the virtual raster as a tif and setting the no 
data value. Do you have the same problem? 
If Qgis does not recognize the no data value, it may be thrown out by trying to 
stretch the image from -32768 to whatever you have. In that case, your 
raster will not be "viewed correctly" as it is trying to display more than 256 
shades which is the max a screen can handle. In that case you would see only 
black and white. 
Hope this help! 
Nicolas 
On Apr 17, 2016 8:22 AM, Lene Fischer [via OSGeo.org] 
ml-node+s1560n526162...@n6.nabble.com wrote: 









Hi, 
I´m rehearsing my lectures for tomorrow – and using 2.14.1 on windows. 
  
When I create a virtual raster the values are not viewed correct. Then I click 
Stretch Histogram to full data. Nothing happens. 
I have to go to properties and load to ‘min-max’ actual values before anything 
happens. 
  
If I use Properties Histogram and try to Reset and then ReCompute histogram 
– nothing happens… 
  
What do I do wrong? 
  
A bit distressed – Giving lectures in raster QGIS tomorrow … 
Regard 
Lene Fischer 




___
Qgis-user mailing list
[hidden email] 
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: 
http://lists.osgeo.org/mailman/listinfo/qgis-user 








If you reply to this email, your message will be added to the 
discussion below: 

http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624.html 


To start a new topic under Quantum GIS - User, email 
ml-nodes1560n4125267h38n6.nabble.com 
To unsubscribe from Quantum GIS - User, click here . 
NAML 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624p5261625.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Raster - values and histogram

2016-04-17 Thread Lene Fischer
Hi,
I´m rehearsing my lectures for tomorrow – and using 2.14.1 on windows.

When I create a virtual raster the values are not viewed correct. Then I click 
Stretch Histogram to full data. Nothing happens.
I have to go to properties and load to ‘min-max’ actual values before anything 
happens.

If I use Properties >Histogram and try to Reset and then ReCompute histogram – 
nothing happens…

What do I do wrong?

A bit distressed – Giving lectures in raster QGIS tomorrow …
Regard
Lene Fischer
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Clip - unsupported geometrytype -2147483646

2016-04-17 Thread Lene Fischer
Hi again,
I now created a new temp Scratch layer – line copy/pasted all the lines from 
the original layer – saved as – and now it works.
It would be great if there was an understandable error text ☺


Lene Fischer
Associate Professor

Department of Geosciences and Natural Resource Management
University of Copenhagen


MOB +45 40115084
l...@ign.ku.dk


[cid:image001.gif@01D03029.2F3EC6A0]


Fra: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] På vegne af Anita 
Graser
Sendt: 17. april 2016 12:24
Til: ralfwessels
Cc: qgis-user
Emne: Re: [Qgis-user] Clip - unsupported geometrytype -2147483646

I had the same issue with some polygon datasets today. Used a fixed distance 
buffer with distance 0 to "fix" the datasets.

Best wishes,
Anita
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Clip - unsupported geometrytype -2147483646

2016-04-17 Thread Anita Graser
Hi Lene,
Even with polygons it turns out to be a problem: The buffer operation
skipped/lost some features silently ... no warning or error to be
found anywhere  ...
Best wishes,
Anita



On Sun, Apr 17, 2016 at 1:46 PM, Lene Fischer  wrote:

> Hi Anita,
>
> I have both line and polygon. So the lines gives me a headache…
>
> Kind regards
>
> Lene
>
>
>
>
>
> *Fra:* Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *På vegne af 
> *Anita
> Graser
> *Sendt:* 17. april 2016 12:24
> *Til:* ralfwessels
> *Cc:* qgis-user
> *Emne:* Re: [Qgis-user] Clip - unsupported geometrytype -2147483646
>
>
>
> I had the same issue with some polygon datasets today. Used a fixed
> distance buffer with distance 0 to "fix" the datasets.
>
>
>
> Best wishes,
>
> Anita
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Clip - unsupported geometrytype -2147483646

2016-04-17 Thread Lene Fischer
Hi Anita,
I have both line and polygon. So the lines gives me a headache…
Kind regards
Lene


Fra: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] På vegne af Anita 
Graser
Sendt: 17. april 2016 12:24
Til: ralfwessels
Cc: qgis-user
Emne: Re: [Qgis-user] Clip - unsupported geometrytype -2147483646

I had the same issue with some polygon datasets today. Used a fixed distance 
buffer with distance 0 to "fix" the datasets.

Best wishes,
Anita
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Clip - unsupported geometrytype -2147483646

2016-04-17 Thread Anita Graser
I had the same issue with some polygon datasets today. Used a fixed
distance buffer with distance 0 to "fix" the datasets.

Best wishes,
Anita
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user