jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoServer
  • GEOS-4577

URLMangler support in KML/GeoRSS

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.0
  • Fix Version/s: 2.1.1
  • Component/s: Google Earth KML Output, WMS
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

URLMangler support didn't make it into KML Network Links (or GeoRSS, as it turns out).

I've attached a patch against 2.1.x that replaces all the manual URL-assembling that I can find in the KML code with calls to ResponseUtils.buildURL() (which uses URLMangler), and deprecates the use of WMSRequests.getBaseUrl().

I also expanded buildURL() to handle null values in KVP parameters since they seemed to pop up in a number of places. Now, {"key1":null, "key2":"val"} resolves to "...&key1=&key2=val".

In my limited testing the patch works as expected, and the test suite passes. If someone can have a quick once-over and suggest whether the approach is right, and whether new tests are required, that'd be great.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    gs21-kml-urlmangler.1.diff
    27/May/11 12:51 AM
    12 kB
    Robert Coup

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Andrea Aime added a comment - 28/May/11 2:42 AM

Patch applied on 2.1.x and trunk. Thanks for the contribution!

Show
Andrea Aime added a comment - 28/May/11 2:42 AM Patch applied on 2.1.x and trunk. Thanks for the contribution!
Hide
Permalink
Andrea Aime added a comment - 27/Jan/12 3:29 AM

Mass transition all resolved issue that did not see any further comment in the last month to closed status

Show
Andrea Aime added a comment - 27/Jan/12 3:29 AM Mass transition all resolved issue that did not see any further comment in the last month to closed status

People

  • Assignee:
    Andrea Aime
    Reporter:
    Robert Coup
Vote (0)
Watch (0)

Dates

  • Created:
    27/May/11 12:51 AM
    Updated:
    27/Jan/12 3:29 AM
    Resolved:
    28/May/11 2:42 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.