Re: [Qgis-user] Black border in raster files
Dear Manuel, in the raster properties choose stretch and clip to min/max (in the contrast enhancement option) to remove the black frame. Unfortunately it will work only for the grayscale color ramp, as with the others you will hit a known issue that affects the transparency of nulls values (or values defined as null). Hopefully this issue will be fixed in the dev version of QGIS as the rasters are being overhauled. cheers -- Giovanni -- On Sat, 2012-08-11 at 10:21 -0600, Manuel Spínola wrote: Sure Giovanni. Best, Manuel 2012/8/11 Giovanni Manghi giovanni.man...@faunalia.pt Any other suggestion? can you share the data? -- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.ac.cr mspinol...@gmail.com Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río Institutional website: ICOMVIS ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
Thank you very much Giovanni. As you said, that works only with grayscale. I hope in the future is also implemented for colormap. Best, Manuel 2012/8/12 Giovanni Manghi giovanni.man...@faunalia.pt Dear Manuel, in the raster properties choose stretch and clip to min/max (in the contrast enhancement option) to remove the black frame. Unfortunately it will work only for the grayscale color ramp, as with the others you will hit a known issue that affects the transparency of nulls values (or values defined as null). Hopefully this issue will be fixed in the dev version of QGIS as the rasters are being overhauled. cheers -- Giovanni -- On Sat, 2012-08-11 at 10:21 -0600, Manuel Spínola wrote: Sure Giovanni. Best, Manuel 2012/8/11 Giovanni Manghi giovanni.man...@faunalia.pt Any other suggestion? can you share the data? -- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.ac.cr mspinol...@gmail.com Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río Institutional website: ICOMVIS -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.ac.cr mspinol...@gmail.com Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río https://sites.google.com/site/lobitoderio/ Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
On Sun, 2012-08-12 at 08:56 -0600, Manuel Spínola wrote: Thank you very much Giovanni. As you said, that works only with grayscale. I hope in the future is also implemented for colormap. it is not a feature, is a bug, so I hope will be solved asap because is very annoying. cheers -- Giovanni -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
Thank you very much André. Yes, I am working with one color band (a raster exported from R), but I cannot solve the problem. The grey is automatically setted to 100 transparency, but that doesn't take the black frame away. Any other suggestion? Best, Manuel 2012/8/10 Andre Joost andre+jo...@nurfuerspam.de Am 10.08.2012 17:45, schrieb Manuel Spínola: Sorry André, I am trying but I don't understand. Where is the RBG in the Transparency tab. I am working with Colormap. One-Color-Band I assume, like SRTM? Then you have to set grey:0 to 100% Transparency. But I haven't tested that. I was testing on three-band-colored Ratser, like normal colored maps have. Greetings, André Joost __**_ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/qgis-userhttp://lists.osgeo.org/mailman/listinfo/qgis-user -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.ac.cr mspinol...@gmail.com Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río https://sites.google.com/site/lobitoderio/ Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
Any other suggestion? can you share the data? ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
Am 10.08.2012 17:03, schrieb Manuel Spínola: Dear list members, When working with raster files, sometimes there is a black border with no data around the map. How can I handle this in QGIS? I mean, delete it or set it in a different color. In Layer Properties, tab Transparency, you can set the transparency to RBG: 0-0-0, which makes the black border transparent. The black border comes when you georeference a map to another CRS than the original format. HTH, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
Sorry André, I am trying but I don't understand. Where is the RBG in the Transparency tab. I am working with Colormap. Best, Manuel 2012/8/10 Andre Joost andre+jo...@nurfuerspam.de Am 10.08.2012 17:03, schrieb Manuel Spínola: Dear list members, When working with raster files, sometimes there is a black border with no data around the map. How can I handle this in QGIS? I mean, delete it or set it in a different color. In Layer Properties, tab Transparency, you can set the transparency to RBG: 0-0-0, which makes the black border transparent. The black border comes when you georeference a map to another CRS than the original format. HTH, André Joost __**_ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/qgis-userhttp://lists.osgeo.org/mailman/listinfo/qgis-user -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.ac.cr mspinol...@gmail.com Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río https://sites.google.com/site/lobitoderio/ Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Black border in raster files
Am 10.08.2012 17:45, schrieb Manuel Spínola: Sorry André, I am trying but I don't understand. Where is the RBG in the Transparency tab. I am working with Colormap. One-Color-Band I assume, like SRTM? Then you have to set grey:0 to 100% Transparency. But I haven't tested that. I was testing on three-band-colored Ratser, like normal colored maps have. Greetings, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user