On Thu, Sep 27, 2012 at 11:24 AM, sajid pareeth <[email protected]> wrote:

> Hi All
>
> I have hosted number of Land cover maps (Geotiff format) in Geoserver
> (2.2) and accessing them as WMS in the client.
> GetFeatureinfo gives fid and PALETTE_INDEX.
>
> I would like to customize the feature info template so that we can see the
> Landcover name and some other info (like pics) when we click on a landcover
> type pixel.
>
> Is it possible to do this using free marker templates on Geotiff backend?
>
> We managed to customize the feature info templates for postgis backend
> WMS'es. But couldn't get it for the raster backends.
>

It should work exactly the same way, indeed inside the code we create a
fake "vector" record out of
the raster band values and then proceed just like in the vector case
The band names become feature attributes, and their names depend on the
type of raster

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

-------------------------------------------------------
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to