[OpenLayers-Users] split WMS GetFeatureInfo results

stash st.sonstiges at web.de
Wed Nov 4 03:06:47 EST 2009




Barend Kobben wrote:
> 
> That's probably  more a question to ask the underlying WMS (in your case
> geoserver?) ; Eg. I know that when using Mapserver as a WMS, I would
> change
> the 
> &INFO_FORMAT=text/plain
> To
> &INFO_FORMAT=text/html
> 
> And then make sure I have HTML templates that provide only the attributes
> I
> want, layed out and styled like I want...
> 
> 
> -- 
> Barend Köbben
> International Institute for Geo-Information
> Sciences and Earth Observation (ITC)
> PO Box 6, 7500AA Enschede, The Netherlands
> +31 (0)53 4874253
> 
> 


Hello,
thanks for your answer. In fact, you can build templates in geoserver to
show only the results you want with a getfeatureinfo request. Thanks for the
hint.

But now I have an other problem. Is it possible to define more templates for
one layer? 

For example, if the user wants output1 --> template 1 will be used by
geoserver to show the results
                  if the user wants output2 --> template 2 will be used by
geoserver to show the results

Is this possible?

Regards
stash



-- 
View this message in context: http://n2.nabble.com/split-WMS-GetFeatureInfo-results-tp3932043p3943680.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list