Olá Fernando!

Para que vc tenha completo controle sobre a resposta do GetFeatureInfo, voce
pode retornar os dados usando um GML... assim vc pode montar um parser e
apresentar a informação como desejar.. faço isso por exemplo para retornar
os dados em forma de lista (campo: valor) em um
popup...

Para tal, é só mudar o valor do INFO_FORMAT para:

INFO_FORMAT: 'application/vnd.ogc.gml'

Há também uma forma de editar templates para o GetFeatureInfo:

http://geoserver.org/display/GEOSDOC/GetFeatureInfo+templates

Mas esse modo eu nunca cheguei a utilizar.. hehehe

Abraço,

Rodrigo



======================================
Rodrigo C. Antonialli
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 9757-0370
             [email protected]
             [email protected]
             Skype: rc_antonialli




On Mon, Feb 16, 2009 at 10:24, Fernando Quadro <[email protected]> wrote:

>  Hi,
>
> My name is Fernando Quadro, I'm Brazilian, system analyst working in the
> area of GIS. I have studied and developed an application with the OpenLayers
> + GeoServer.
>
> Published a tutorial on my blog on OpenLayers in Portuguese, which did not
> exist until then. (http://www.fernandoquadro.com.br/html/openlayers/)
>
> My question is this, when I do a GetFeatureInfo in my application, the
> standard answer is a table with the information. I would like to know how to
> customize, or get that information and put it in my style (css).
>
> Best Regards,
>
> Fernando Quadro
> http://www.fernandoquadro.com.br
> [email protected]
>
>
>
>
> ------------------------------
> Notícias direto do New York Times, gols do Lance, videocassetadas e muitos
> outros vídeos no MSN Videos! Confira já! <http://video.msn.com/?mkt=pt-br>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to