Hi!
I have a large raster dataset which I would like to publish as WMS. The dataset consist of a set of RGB data and a set of corresponding floating point (1 band) data – two sets of GeoTIFF files.
I would like to combine these two data sets to one WMS layer, so the visual part comes from the RGB dataset and the getFeature returns values from the floating point dataset.
The RGB data is arranged as an image pyramid, but since getFeature (always?) asks for a single value at a point location, it doesn’t make sense to me, to do any optimization on the floating point dataset.
In short, is it possible in GeoServer to create a raster layer where the getMap returns data from one store and the getFeature returns data from another store?
Kind regards, Casper
Hi Casper,
I’m not sure that that’s possible.
What might work however is the following:
Have two layers.
Visual layer (getMap) - turn off “queryable” for this layer.
GetFeature layer - Use a “blank” style (so it doesn’t actually get drawn).
You may want to group them both into a layer group.
I’m doing something similar and it works, although GeoServer may require that all layers are queryable if you’re putting it in a layer group.
Hope that helps,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
On 31 January 2014 07:58, Casper Børgesen (CABO) <CABO@anonymised.com> wrote:
Hi!
I have a large raster dataset which I would like to publish as WMS. The dataset consist of a set of RGB data and a set of corresponding floating point (1 band) data – two sets of GeoTIFF files.
I would like to combine these two data sets to one WMS layer, so the visual part comes from the RGB dataset and the getFeature returns values from the floating point dataset.
The RGB data is arranged as an image pyramid, but since getFeature (always?) asks for a single value at a point location, it doesn’t make sense to me, to do any optimization on the floating point dataset.
In short, is it possible in GeoServer to create a raster layer where the getMap returns data from one store and the getFeature returns data from another store?
Kind regards, Casper
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
On Wed, Feb 5, 2014 at 6:18 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:
Hi Casper,
I'm not sure that that's possible.
What might work however is the following:
Have two layers.
Visual layer (getMap) - turn off "queryable" for this layer.
GetFeature layer - Use a "blank" style (so it doesn't actually get drawn).
You may want to group them both into a layer group.
I'm doing something similar and it works, although GeoServer may require
that *all* layers are queryable if you're putting it in a layer group.
Is there a ticket for this btw? Layer groups are just aliases, so we simply
expand them into the list of layers they are made of.
Now, when we do that for query_layers, we could limit the expansion to
those that are queryable, and barf only if none of them
is. Should be easy to implement.
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
On 6 February 2014 09:05, Andrea Aime <andrea.aime@anonymised.com> wrote:
On Wed, Feb 5, 2014 at 6:18 PM, Jonathan Moules <jonathanmoules@anonymised.com.4942…> wrote:
Hi Casper,
I’m not sure that that’s possible.
What might work however is the following:
Have two layers.
Visual layer (getMap) - turn off “queryable” for this layer.
GetFeature layer - Use a “blank” style (so it doesn’t actually get drawn).
You may want to group them both into a layer group.
I’m doing something similar and it works, although GeoServer may require that all layers are queryable if you’re putting it in a layer group.
Is there a ticket for this btw? Layer groups are just aliases, so we simply expand them into the list of layers they are made of.
Now, when we do that for query_layers, we could limit the expansion to those that are queryable, and barf only if none of them
is. Should be easy to implement.
I hadn’t created one (I figured it was by design even though it was kind of annoying). But have now - http://jira.codehaus.org/browse/GEOS-6340
Cheers,
Jonathan