From: Andrea A. <and...@al...> - 2004-07-21 20:41:05
|
Alle 17:55, mercoled=EC 21 luglio 2004, James Macgill ha scritto: > At 09:07 AM 7/21/2004, Martin Desruisseaux wrote: > >Lu Xiao a =E9crit : > >>do you know if geotools rendering classes can handle rendering > >>geo-referenced image maps? any advice on this is appreciated. > > > >A geo-referenced image can be a GridCoverage (under some conditions). > >Geotools can renderer GridCoverages. > > It is fair to say, however, that this is one of the least documented tasks > and it doesn't help that the mechanisms for getting images in keeps > changing. =46air enough, but it can't be helped... for too much time raster data has = not been taken into consideration... hopefully after some real world usage=20 a few stumbles we will stabilize... > I would love to see a well documented solution to this (with code) that > would allow me to add simple image support to geoserver. (This implies > that it should work with LiteRenderer). Well, lite can already display grid coverages provided that they are contai= ned in a single Feature that has a "grid" attribute with the grid coverage in i= t.=20 Odd as it may sound, it was the way things where done with=20 raster data sources before the work on GridCoverageExchange. Moreover, with Lite you cannot use SLD on grid coverages, and there is no reprojection support, meaning that it will display properly only images that are already expressed in the right coordinate system (but not images in a different cs, or images that require SLD to display properly, such as DEM= s). Sorry for the inconvenience, but I won't be able to fix this until the midd= le=20 of August (next week I'm in Tunisia...). Best regards Andrea Aime |