[Qgis-user] inserting symbols into qgis

James Card James.Card at calcad.com
Thu Oct 15 11:50:59 PDT 2009


Inkscape also has an image tracing utility built-in to convert raster  
images to vectors. If you're willing to do a bit of tinkering with the  
conversion parameters I've had very good results with this process.

-- 
James Card
California CAD Solutions, Inc.
209-578-5580 - Voice
209-521-6493 - FAX


On Thu, 15 Oct 2009 11:46:04 -0700, Andreas Neumann <a.neumann at carto.net>  
wrote:

> Hi,
>
> SVG is a hybrid format. It can also embed raster images (jpg,png). So  
> theoretically you could embed your existing symbols in a raster (with a  
> SVG shell around it). However, this is not recommended since the raster  
> images don't scale properly. They would get pixely/or blurry when  
> enlarged.
>
> SVG is the best choice for scalable symbols.
>
> If you want quick results and don't care about quality you could still  
> embed the rasters (you can embed them base64 encoded in the data URL),  
> so you only have one file and not two files. In Inkscape (at least in  
> 0.47) you can embed the image in the SVG by using "Extensions" -->  
> "Images" --> "Embed Images".
>
> Hope this helps,
> Andreas
>
>
> sunny74 wrote:
>> Hi Alex,Fischer
>>
>> Thanks to both of you for your replies.
>> So I understand that only SVG files are accepted by QGIS as symbols.
>> Then I have to convert jpg,bmp etc into svg.
>> Do I have to use Inkscape i.e http://www.inkscape.org/ for the  
>> conversion.
>>
>> Warm Regards.
>>
>>
>>
>> Jürgen E. Fischer wrote:
>>
>>> Hi Alex,
>>>
>>> On Fri, 09. Oct 2009 at 07:44:43 -0700, Alex Mandel wrote:
>>>
>>>> In the QGIS installation folder there's a subfolder called svg. Any  
>>>> svg
>>>> files you place in there will be picked up the next time QGIS is  
>>>> started
>>>> and show up in the symbol picker.
>>>>
>>> There's even a context menu in the symbol picker that allows a rescan
>>> without restarting.
>>>  Jürgen
>>>
>>> -- Jürgen E. Fischer         norBIT GmbH               Tel.
>>> +49-4931-918175-20
>>> Dipl.-Inf. (FH)           Rheinstraße 13            Fax.
>>> +49-4931-918175-50
>>> Software Engineer         D-26506 Norden               
>>> http://www.norbit.de
>>>
>>> -- norBIT Gesellschaft fuer Unternehmensberatung und  
>>> Informationssysteme mbH
>>> Rheinstrasse 13, 26506 Norden
>>> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-user mailing list