TransWikia.com

Is there "label wrap on character" option in GeoServer GeoCSS?

Geographic Information Systems Asked on August 26, 2021

In GeoServer (using GeoCSS) I am importing layers which use the symbol _ to wrap characters in QGIS.

As I searched, technically it is possible to have such option, TileMill uses this code text-wrap-character: '_';.

Question is if this option is available in GeoServer? Can I do wrap on character?

One Answer

I don't think this is currently possible in GeoServer, there is an autoWrap vendor option that allows you to specify a maximum width in pixels for a label but that breaks on white space not a specified character.

It would certainly be possible for you to provide a new function or an extension to the existing autoWrap functionality

Answered by Ian Turton on August 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP