[Geoserver-devel] Raster in WMS?

Hello,

My question is quite simple: is there a way to produce maps that use a raster layer as a background (using WMS)?
If not, I saw in the Geotools toolkit that an image datasource is available. Does anyone tried to do something using this API to include raster data?
Any solution may be appreciated.
Thanks.

Nicolas Vila

My question is quite simple: is there a way to produce maps that use
a raster layer as a background (using WMS)?

Nope. :frowning: Sorry.

If not, I saw in the Geotools toolkit that an image datasource is
available. Does anyone tried to do something using this API to
include raster data?

The problem is that geotools data access with rasters has lagged way
behind vector data. A few hacks were made on the last api -
datasource, so that there is an ImageDataSource and an acrgrid
datasource I believe. But they need to be updated. GeoServer only
uses datastore, indeed was one of the driving forces behind the
development of datastore. They are much better, datasources held
everything in memory, didn't have nice abstract classes for writing new
ones, were limted to one featureType, ect. ect. Having GeoServer
regress to that api for raster data would not be wise. Luckily work
has started in geotools, working on the GridExchange api (or something
like that). I haven't been following it too closely, but I'm pretty
sure the result will be that we'll be able to use raster data in
geoserver. So yeah, it's definitely a desired feature for GeoServer,
one of our developers really wants to support ECW format, so it will
happen relatively soon, but it'll probably be at least a couple of
months. There may be a hacky solution you can come up with, but I
don't know raster stuff well enough to do it. I'd recommend helping
out geotools on the grid exchange stuff, there was a recent irc on it,
available on http://geotools.org, and I think someone at refractions is
starting good work on it. If you need something faster you can try to
squeeze your format into the datastore api, but it'd be a hack and
would be thrown out soon anyways, so seems like wasted work to me. If
you _really_ need a raster for your stuff then you could set up
MapServer and just use that for the raster layer and geoserver for the
rest, or for just the wfs side of things. That's what people have done
in the past, though hopefully soon GeoServer will be able to handle the
raster side too.

best regards,

Chris

Any solution may be appreciated.
Thanks.,

Nicolas Vila

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of
$35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/