[Gvsig_english] gvSIG 1.9: Advanced Labeling: Usage of SLD WORKAROUND FOUND
Johannes Valenta
spatialjoe at googlemail.com
Mon May 24 22:16:19 CEST 2010
As Sergio suggested I played around with a "custom" textbox which groups 4
single textboxes in one template.
One has to experiment a little with sizing but it works quite well.
See the resulting screenshot (note: most values are empty still but the
"names" are displayed already. Easy syntax here: "name: " [field] )
I like it.
Best,
Johannes
2010/5/24 Johannes Valenta <spatialjoe at googlemail.com>
> Hi Sergio, list,
>
> thanks for this idea. It works quite nicely!
>
> Best,
>
> Johannes
>
>
> 2010/5/24 Sergio Clark <sergio.clark at iver.es>
>
> Hi Johannes,
>>
>> You can create stacked labels from different fields of the table. You
>> should use the option "User defined labelling", and inside Properties,
>> "Add" different lines in the SLD expression (1, 2, 3...), and select a
>> [field] of your table for each line.
>>
>> Then, select a "Backgound style" where you could draw a textbox over,
>> for each one of your lines/fields (1, 2, 3...), in order to make them
>> appear in the position you'd like. This style can be a default one or an
>> image you select or a "New" one, empty, if you don't want any background.
>>
>> This workaround is a little annoying, but I think is the only way to do
>> that for the moment.
>>
>> For different fonts or sizes you should use "User defined labelling"
>> with the option "Define classes of features and label each differently".
>>
>> Regards,
>> sergio
>>
>>
>> Sergio Clark
>> Equipo gvSIG
>> IVER T.I., S.A.
>> www.iver.es
>> www.gvsig.com
>>
>>
>>
>> Johannes Valenta escribió:
>> > Hi list,
>> >
>> > I'd like to know how to build SLD expressions within the advanced
>> > labeling dialogue of gvSIG.
>> > Is it possible to create labels of stacked text using different fields
>> > of the attribute table?
>> > (For example like this:
>> > "field 1"
>> > "field 2"
>> > "field 3")
>> >
>> > How do I indicate a new line or different fonts, font sizes or so in a
>> > SLD expression in gvSIG?
>> >
>> > Thanks in advance for any suggestion.
>> >
>> > best,
>> >
>> > Johannes
>> >
>> >
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Gvsig_internacional mailing list
>> > Gvsig_internacional at listserv.gva.es
>> > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>> >
>>
>> Este mensaje y sus archivos son confidenciales. No está permitida su
>> reproducción o distribución sin la autorización expresa de "IVER Tecnologías
>> de la Información". Si usted no es el destinatario previsto, queda
>> desautorizado cualquier uso, acceso o copia de este mensaje. Si ha recibido
>> este mensaje por error, por favor bórrelo e infórmenos por esta misma vía.
>>
>>
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at listserv.gva.es
>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100524/b47bcc58/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stacked_text_using_textbox.PNG
Type: image/png
Size: 141746 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100524/b47bcc58/attachment.png
More information about the Gvsig_internacional
mailing list