Hi,
I'm pretty new to geotools, so excuse me if this is a really simple
question, but I have searched everywhere and I can't find an answer:
How can I determine if a MapLayer object contains a GridCoverage object, and
if it does contain a GridCoverage, how can I extract it out? I am adding a
lot of image layers to a MapContext using the
addLayer(AbstractGridCoverage2DReader gridCoverage, Style style) method from
the DefaultMapContext class. I am also adding Shapefiles using another some
of the other overloaded addLayer methods. When I go back to manipulate a
layer in which I inserted an image, I am having trouble detecting that it is
a GridCoverage2D object that is within the MapLayer object. I can detect if
they are shapefiles just fine. Is this something right in front of me that
I can't see?
Thanks in advance!
S Dille
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/MapLayer-s-and-GridCoverage2D-s-tp5187306p5187306.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users