2

I need make a sld style with line and label above. But it's not that simple because I have some additional requirements:

  1. Label without repeat
  2. Label fitted in line in ideal or put in line center.
  3. Label gonna be multiple lines

For repeat i found that:

Normally GeoServer labels each line only once, regardless of length. 

IS it mean that i get only one label for each line?

For multiline:

<VendorOption name="autoWrap">50</VendorOption>

But how can i fit label? For fiting im understand autoselect fontsize and stretching label by line lenght.
Its possible? Where i can find any examples?

1
  • can you post examples that you have tried and that don't meet your requirements
    – Ian Turton
    Aug 16, 2014 at 16:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.