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)
Signup
GeoTools
  • GeoTools
  • GEOT-3565 Use MapContent in GTRenderer and Stre...
  • GEOT-3627

Introduce RasterLayer abstract class

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 8.0-M1
  • Fix Version/s: 8.0-M1
  • Component/s: render
  • Labels:
    None

Description

Another case where introducing a base class will help out.

From aaime's email:

  • GridCoveageLayer and GridReaderLayer really need a GridLayer
    base class, right now to recognize if a layer is raster one has
    to make two instanceof, two casts, and if the code relying on the
    ability to extract a feature source out of the layer is hard to
    change, two casts to call the toFeatureCollection() method that
    both expose
  • GridReaderLayer constuctors force one to specify the title to
    pass also the parameters. Title might not be always needed,
    but some readers will not give the best without custom param
    settings. Please add a constructor wtih reader, style and params

I am taking a chance to call this RasterLayer as we find people look for the word "raster" when trying to place an image on a map for the first time.

Issue Links

is superceded by

Sub-task - The sub-task of the issue GEOT-3658 Layer to support methods expected by Renderers

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Jody Garnett added a comment - 04/Jun/11 11:49 PM
Committed as of -r37381
Show
Jody Garnett added a comment - 04/Jun/11 11:49 PM Committed as of -r37381
Hide
Permalink
Jody Garnett added a comment - 18/Jun/11 1:36 AM
Andrea with the GEOT-3565 we may be able to remove this interface? What do you think?
Show
Jody Garnett added a comment - 18/Jun/11 1:36 AM Andrea with the GEOT-3565 we may be able to remove this interface? What do you think?

People

  • Assignee:
    Jody Garnett
    Reporter:
    Jody Garnett
Vote (0)
Watch (2)

Dates

  • Created:
    04/Jun/11 6:50 PM
    Updated:
    18/Jun/11 1:40 AM
    Resolved:
    04/Jun/11 11:49 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.