specify elements returned from a WFS

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Sep 13 03:26:39 EDT 2005


No unfortunately not.

There is something in the Filter syntax for this (called propertyname instead of items), but Mapserver does not support that part.

See also:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=675

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> 13-9-2005 4:50 >>>
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