[Users] Feature info popup

Alexandre Dubé adube at mapgears.com
Thu Jul 25 14:33:22 CEST 2013


Hi Raffaele,

   If your result is in GML, If you are the admin of your MapServer WMS 
server, you could control what fields to return using the 
"gml_include_items" LAYER METADATA.  You could also do so by using a 
query string (select field1, field2, geom from yourtable) inside the 
DATA of your layer.  If it's in HTML, you would need to change the 
template used to return the response.

   You could also parse what's returned and filter its content, but it 
would be better to do that on the server side.

HTH,

Alexandre


On 13-07-25 04:18 AM, Raffaele Morelli wrote:
> Hi,
>
> probably a dumb question.
>
> I am facing with GeoExt and feature info popup.
> A WMS layer (from mapserver) returns all the field in the postgresql 
> table so, for those fields I do not want to show up: should I use 
> Ext.Window public methods to prune query results?
>
> Thank you
> /raffaele
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130725/b7a24c47/attachment.htm 


More information about the Users mailing list