Using Geoserver, is there any way that I can add a predefined string: "No. " to a property: postalnumber?


1 Answer 1


The SLD spec includes a string concatenation function. Here's an example of how to use it with labels:

            <ogc:Function name="Concatenate">
              <ogc:Literal>No. </ogc:Literal>

The above was tested on geoserver version 2.1.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.