[Qgis-user] Raster to Vector without losing the symbology

Andy Harfoot ajph at geodata.soton.ac.uk
Mon Jul 19 06:40:06 PDT 2021


Or extract the three bands into three separate vector files and then 
union the three together to get the unique combinations of RGB values.

Cheers,

Andy

On 18/07/2021 19:56, Nicolas Cadieux wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Hi,
> You could create a style that could apply to both raster and vector 
> layers but that would not help much here.  The problem is that you 
> need to create the vector based on one of the raster Bands and not all 
> three.  One way could be to combine all three fields into one.  If 
> your RGB is 155 025 255, make this a raster band with 155025255. Then, 
> I guess you could use that 4th band to make the vector layer, then 
> resplit the data into 3 fields and use that to create the colour profile.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fnjacadieux&data=04%7C01%7Cajph%40geodata.soton.ac.uk%7C178db35795fb4723dfbd08d94a1dcc1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637622314098951318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0U%2Bv90nzsrozeTppC4pVe4Vv9ZLJrkp8NxuZm96zKZE%3D&reserved=0>
>
>> Le 18 juill. 2021 à 12:51, krishna Ayyala <ayyalakrishna at gmail.com> a 
>> écrit :
>>
>> 
>> I have an image on my qgis map that has 3 bands. Band1 (red), 
>> Band2(green) and Band3(blue). This image has different colors.Is it 
>> possible to convert this image into a vector which should look 
>> exactly like the image.
>>
>> That means; Is it possible to have the vector file that should have 
>> the same colors as that of the image.
>>
>> Regards.
>> _______________________________________________
>> Qgis-user mailing list
>> 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
>
> _______________________________________________
> Qgis-user mailing list
> 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

-- 
Andy Harfoot

Skype: gdi_ajph
Teams: ajph at soton.ac.uk

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

www.geodata.soton.ac.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210719/91eaddd1/attachment.html>


More information about the Qgis-user mailing list