If you are using OpenLayers I think you can switch to a GetFeature control
instead of GetFeatureInfo - this should allow you to use the WFS
"propertyName" option to specify the attributes to include in the GML in
that case.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Sep 22, 2011 at 8:01 AM, Andrea Aime
<andrea.a...@geo-solutions.it>wrote:

> On Thu, Sep 22, 2011 at 1:46 PM, J. Parapar <lista...@gmail.com> wrote:
> > Hi,
> >
> > I want to avoid getting the geom in the WMS GetFeatureInfo responses
> > obtained from GeoServer.
> >
> > I have found the solution for HTML format through the use of
> > GetFeatureInfo templates. Does there exist anything similar for GML
> > format?
>
> Nope sorry, we don't have such a thing, though in theory I guess it
> could be developed. The easiest would probably be to add a configuration
> listing the attributes you want to be included in the GML
>
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to