Maps4HTML / geoserver

Maps for HTML MapML Extension / plug-in development fork of GeoServer
https://docs.geoserver.org/latest/en/user/extensions/mapml/index.html
Other
3 stars 1 forks source link

Feature type customization can prevent correct <featurecaption> serialization #55

Open prushforth opened 1 year ago

prushforth commented 1 year ago

The new feature type customization in GeoServer 2.21 allows flexible attribute output renaming, but if the renamed attribute contains a space, it results in default \ of "Feature" even if a feature caption string has been appropriately set.

For example, if you rename the STATE_NAME attribute to "State Name" for output features:

image

and then you set the \ string to contain a property placeholder that should serialize the renamed attribute:

image

it results in the default "Feature" string being used: image