Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-7643

Add a function to URL encoded dynamic symbolizer components in external graphic

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.10-beta
    • Component/s: WMS
    • Labels:
      None
    • Environment:

      Java JDK: OpenJDK Runtime Environment (build 1.8.0_91-b14)
      OS: Amazon Linux

      Description

      When pulling values using a CQL Expression the value is not URL encoded.

      Using this as a reference:
      http://docs.geoserver.org/latest/en/user/styling/sld-extensions/pointsymbols.html#dynamic-symbolizers.

      Example:

      <ExternalGraphic>
      <OnlineResource xlink:type="simple"
      xlink:href="http://mysite.com/tn_$

      {STATE_ABBR}

      .jpg"/>
      <Format>image/jpeg</Format>
      </ExternalGraphic>

      If the property value has a space in it, ie 'Some Value' the resulting url is: 'http://mysite.com/tn_Some Value.jpg'.

      Expecting result to be 'http://mysite.com/tn_Some%20Value.jpg'

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                newmanw Billy Newman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: