[Qgis-user] TIFF style problem
Hi! I have problem with TIFFs style in QGIS 1.4 (Vista). They have different shapes and around them there is no data (visible as black). When I'm puting 0 in properties in field where should be a value of no data I am loosing not only black frame but some pixels in the raster. It doesnt happend with all rasters. Anyone had the same problem? I tried to import styles from rasters without the problem, but it didn't work. -- Błażej Zamojski Green Power Development sp. z o.o. ul. Zaleskiego 8/1, 31-525 Kraków tel. +48 12 412-01-41, fax. +48 12 411-00-32 e-mail: b...@green-power.com.pl http://www.green-power.com.pl/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] TIFF style problem
Hi Błażej, W dniu 11 czerwca 2010 11:00 użytkownik Błażej Zamojski b...@green-power.com.pl napisał: Hi! I have problem with TIFFs style in QGIS 1.4 (Vista). They have different shapes and around them there is no data (visible as black). When I'm puting 0 in properties in field where should be a value of no data I am loosing not only black frame but some pixels in the raster. It doesnt happend with all rasters. Anyone had the same problem? I tried to import styles from rasters without the problem, but it didn't work. Have you tried MultiQml plugin for changing styles? For me it works fine. Milena -- Milena Nowotarska http://wiki.osgeo.org/wiki/Milena_Nowotarska http://quantum-gis.pl/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] TIFF style problem
Dnia piątek, 11 czerwca 2010 o 11:07:04 Milena Nowotarska napisał(a): Hi Błażej, W dniu 11 czerwca 2010 11:00 użytkownik Błażej Zamojski b...@green-power.com.pl napisał: Hi! I have problem with TIFFs style in QGIS 1.4 (Vista). They have different shapes and around them there is no data (visible as black). When I'm puting 0 in properties in field where should be a value of no data I am loosing not only black frame but some pixels in the raster. It doesnt happend with all rasters. Anyone had the same problem? I tried to import styles from rasters without the problem, but it didn't work. Have you tried MultiQml plugin for changing styles? For me it works fine. I think it's not the point. The problem is probably in this bug: https://trac.osgeo.org/qgis/ticket/2491 Note that if you set nodata to 0, all cells with 0 value get transludent, no matter where they are. B. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] TIFF style problem
Hi, W dniu 11 czerwca 2010 11:12 użytkownik Błażej Zamojski b...@green-power.com.pl napisał: Thanks for fast reply. Could you just tell me where to find it and how to use it? I am new in community ;) Greets Błażej how to find it: Wtyczki - Pobierz więcej wtyczek, then use filter to find it. It is in GIS-Lab repository. how to use it (in polish): http://quantum-gis.pl/blog/milena/2010_01_fajna_wtyczke_wczoraj_widzialam..._a_momenty_byly @Borys: it might be related to #2491, but in this case transparency works. I am in this good situation, that on my maps no data is white, so setting transparency do them no harm. @Błażej: you can also edit black areas with any non-gis-related raster tool, set them white and then open in QGIS and set transparency. Just an old trick ;) hope this helps Milena -- Milena Nowotarska http://wiki.osgeo.org/wiki/Milena_Nowotarska http://quantum-gis.pl/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] TIFF style problem
@Borys: it might be related to #2491, but in this case transparency works. I am in this good situation, that on my maps no data is white, so setting transparency do them no harm. Unless you have white pixels within the data area :p @Błażej: you can also edit black areas with any non-gis-related raster tool, set them white and then open in QGIS and set transparency. Just an old trick ;) It's not a solution, it's heresy ;)) Nodata means nodata and nothing else. For formats not supporting nodata (like geoTIFF) there are two workarounds and both should work. One of them is adding the alpha channel and setting it to 0, the second is to choose any non used value as the representative of nodata. If Błażej's files have 0 value used for both nodata and some data, I suppose there is also the alpha channel used and it should be handled by qgis. But it isn't and we could fix it. Looks like a good start for you to work with cpp issues. Just set up the compile environment in the end :p B. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] TIFF style problem
Hi Borys, 2010/6/11 Borys Jurgiel borysia...@aster.pl: @Borys: it might be related to #2491, but in this case transparency works. I am in this good situation, that on my maps no data is white, so setting transparency do them no harm. Unless you have white pixels within the data area :p But of course I do; since I cope mostly with topo maps - it is useful to have transparency for white pixels @Błażej: you can also edit black areas with any non-gis-related raster tool, set them white and then open in QGIS and set transparency. Just an old trick ;) It's not a solution, it's heresy ;)) Nodata means nodata and nothing else. For formats not supporting nodata (like geoTIFF) there are two workarounds and both should work. ok :) it just worked for me and mapinfo years ago but I cannot recall if these were geotiffs or tiffs One of them is adding the alpha channel and setting it to 0, the second is to choose any non used value as the representative of nodata. If Błażej's files have 0 value used for both nodata and some data, I suppose there is also the alpha channel used and it should be handled by qgis. But it isn't and we could fix it. Looks like a good start for you to work with cpp issues. Just set up the compile environment in the end :p no idea if that's qgis or gdal issue though... Milena -- Milena Nowotarska http://wiki.osgeo.org/wiki/Milena_Nowotarska http://quantum-gis.pl/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] TIFF style problem
no idea if that's qgis or gdal issue though... It's unfinshed implementation in qgis :) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user