[Qgis-user] Export styles with svg and color ?

Luigi Pirelli luipir at gmail.com
Fri Sep 8 06:17:35 PDT 2017


give a look to
http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/
Luigi Pirelli

**************************************************************************************************
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**************************************************************************************************


On 8 September 2017 at 15:03, Lars I. Nielsen, LIFA A/S <lin at lifa.dk> wrote:
> Hello Jorge,
>
> Thanks for the answer. We're not quite ready to embark onto v3.x yet, and
> can’t wait for it either.
>
> However, I found that the standard SVGs had parameterized the style info, so
> I could add the missing color info like this:
>
> http://......../amenity_firestation.svg?fill=#ff0000
>
> I had (luckily) just 22 SVG symbols to handle, so it wasn't too troublesome
> to do by hand.
>
>
> Kind regards / Med venlig hilsen
>
> Lars I. Nielsen, LIFA A/S
> GIS konsulent, FME Certified Professional
>
> T 6313 6800
> @ lin at lifa.dk
> D 6313 6849
> W www.lifa.dk
> M 2492 4866
>
>
>
>
>
> -----Oprindelig meddelelse-----
> Fra: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] På vegne af Jorge
> Gustavo Rocha
> Sendt: 7. september 2017 18:34
> Til: qgis-user at lists.osgeo.org
> Emne: Re: [Qgis-user] Export styles with svg and color ?
>
> Hi Lars,
>
> The support for SLD in QGIS3 is being improved. In QGIS3, the fill color of
> SVG symbols is included in the SLD.
>
> If you really need this feature, you might want to try QGIS3.
>
> Regards,
>
> Jorge Gustavo
>
> On 07-09-2017 14:05, Lars I. Nielsen, LIFA A/S wrote:
>> Hi list,
>>
>>
>>
>> We’re using QGIS to style some point layers, and export the styles to
>> Geoserver via SLD.
>>
>>
>>
>> Unfortunately, it seems that QGIS (2.18.11) exports the
>> PointSymbolyzer’s referencing SVG symbols without their color
>> information (or anything else for that matter).
>>
>>
>>
>> Is it completely impossible to achieve, or is there an easy
>> work-around for this ?
>>
>>
>>
>>
>>
>> Med venlig hilsen
>>
>> Lars I. Nielsen, LIFA A/S
>> GIS konsulent, FME Certified Professional
>>
>> http://website.lifa.dk/docs/LIFA_GIS·IT_logo.png
>>
>> *T*
>>
>>
>>
>> 6313 6800
>>
>>
>>
>> *@*
>>
>>
>>
>> lin at lifa.dk
>>
>> *D*
>>
>>
>>
>> 6313 6849
>>
>>
>>
>> *W*
>>
>>
>>
>> www.lifa.dk <http://www.lifa.dk>
>>
>> *M*
>>
>>
>>
>> 2492 4866
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Vi tilbyder interne og eksterne kurser. Du kan finde mere information
>> i vores kursuskalenderVi tilbyder interne og eksterne kurser. Du kan
>> finde mere information i vores **kursuskalender
>> <https://www.lifa.dk/kursuskalender>*
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
> J. Gustavo
> --
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Tel: +351 253604480
> Fax: +351 253604471
> Móvel: +351 910333888
> skype: nabocudnosor
> _______________________________________________
> 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



More information about the Qgis-user mailing list