Details
Description
Hi Michael
The utility method isGridLayer checks whether the Binding classname contains:
private static final String GRID_PACKAGE = "org.geotools.coverage.grid";
In my application the runtime class of an ASCII grid is "org.opengis.coverage.grid.GridCoverage"
the patch for 2.6.x is attached adds check for "org.opengis.coverage.grid.*" also.
Greetz,
Steve
Thanks for this - it's a good catch. That method was a quick hack for FOSS4G. Perhaps a better long term solution would be to have a method in the map layer itself so that lets you check what sort of feature source it has. What do you think ?
Michael