[Geoserver-users] GetFeatureInfo for raster layer: data from vector layer

Hi,

We have made another WMS layer from our orthophoto footprints and attributes and programmed a special button into our application to send GetFeatureInfo with QUERY_LAYERS=orthophoto_info. The application does not ever show the footprints. Users who are using standard WMS clients like uDig or QGis must add orthophoto_info as a WMS layer into their map project but then they can use the standard info tool.

-Jukka Rahkonen-

Björn Höfling wrote:

Hi List,

I have a raster layer of old scanned maps. The default GeoServer
GetFeatureInfo for this layer will return you the raster value for the
coordinate you clicked on. This is not very useful if it is just an RGB triplet (it
might be useful if you have a DEM stored as raster of cause).

What I want to get as FeatureInfo instead is some Metadata I store in a
second layer of type vector. In my case it would contain the bounding box of
the original paper map and the year of publishing.

Is there any way to realize this with GeoServer? The only thing that came to
my mind was to build a compound layer and style the raster layer with an
empty HTML template. That would solve my problem with HTML
GetFeatureInfo requests, but if the user requests type text or xml, the raster
FeatureInfo is still in the response.

Do you have any other ideas of how to realize this?

Thanks,

Björn

- --
Dipl.-Inf. Björn Höfling
Software Developer (GIS, Java)
http://www.bjoernhoefling.de/
USt-IdNr: DE275885245
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlEYqeMACgkQvyhstlk+X/3AoQCeM7rYg3t7QRQhsBHKP/h7vB
eD
I0oAnjXChB3Br6CI7i62F8GBkCM/XZ/b
=YYCr
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 and get the
hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users