Introduce GridLayer abstract class
----------------------------------
Key: GEOT-3627
URL: http://jira.codehaus.org/browse/GEOT-3627
Project: GeoTools
Issue Type: Sub-task
Components: render
Affects Versions: 8.0-M1
Reporter: Jody Garnett
Assignee: Jody Garnett
Another case where introducing a base class will help out.
>From aaime's email:
{panel}
* 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
{panel}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel