Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-5472

Dynamic Symbolizers not URL encoded

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 15.0
    • Fix Version/s: 16-beta
    • Component/s: main
    • Labels:
      None
    • Environment:

      Any

      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:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified