[Qgis-user] Change field for vector style (Carlos Cerd?n)

Carlos Cerdán sig.upagu at gmail.com
Thu Dec 5 06:09:57 PST 2013


Thank you Alex. I didn't figured this workaround. I'll use it, but I think
it will be also handy to apply directly in style manager... if this don't
cause an issue between numeric and string fields.

Carlos


2013/12/5 Alexander Buschmann <Buschmann at tftgmbh.de>

> Hi Carlos
>
> I had the same problem, there is a workaround. Save your layer style, then
> open the style file in any text editor and change the field name between
> the double quotation marks. Save as a different file and load that style
> file in the new layer.
>
> Alex.
> >
>
> Hi all, specially developers
>
> QGIS 2.0.1 is great! I'm using it every day at work and i'm doing something
> frecuently, that i'd like help me to automatize:
>
> 1. There is a vector layer with style defined by a field.
> 2. Add another vector layer with same style, but defined by another field.
> 3. Copy style from layer 1 to layer 2: categories-values are copied, but as
> the name  field is not same, layer 2 gets white, so i have to select the
> correct field... BUT, a problem: defined colors go out, so i have to define
> them again.
>
> Request: Next version Could consider change field (in this situation)
> without lose the style? Or there is some way to do it in 2.0.1 (on Ubuntu
> 12.04)?
>
> Anxiously
>
> Carlos
>
>
> PD. I know it: i have to change name of fields in both two layers to
> same... but it is not an option in this case.
>
> PPD Sorry if my English is bad.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/qgis-user/attachments/20131204/9b11c348/attachment-0001.html
> >
>
> ------------------------------
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131205/ded3aa5d/attachment.html>


More information about the Qgis-user mailing list