specify elements returned from a WFS

Donal Regan donal_regan10 at YAHOO.CO.UK
Mon Sep 12 19:50:43 PDT 2005


That looks good, but I was wondering if it is possible
to do something like :

/cgi-bin/mapserv?/&SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&typename=poi&items=name,id,x_coord,y_coord

Thanks,

Donal


--- Bart van den Eijnden <BEN at Syncera-ITSolutions.NL>
wrote:

> Yes,
> 
> using gml_include_items METADATA on your LAYER eg:
> METADATA
>  ..
>  gml_include_items 'item1,item2,item3'
>  ..
> END
> 
> See:
>
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=950
> 
> Best regards,
> Bart
> 
> Bart van den Eijnden
> Syncera IT Solutions
> Postbus 270
> 2600 AG  DELFT
> 
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
> >>> Donal Regan <donal_regan10 at YAHOO.CO.UK> 09/09/05
> 11:53 AM >>>
> Is there way of specifying which elements you want
> returned from a WFS.
> 
> For example, after I do a describeFeatureType
> request
> I see that the feature has 10 elements e.g  id,
> name,
> area, perimeter, x_coord,y_coord, owner etc.
> 
> Is there way to write a getFeature request so that
> only name, x_coord and y_coord are returned?
> 
> Thanks,
> 
> Donal
> 
> 
> 		
>
___________________________________________________________
> 
> To help you stay safe and secure online, we've
> developed the all new Yahoo! Security Centre.
> http://uk.security.yahoo.com
> 
> 



		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com



More information about the MapServer-users mailing list