[mapserver-dev] RFC 105 : Support for WFS 2.0 (server side)

Even Rouault even.rouault at mines-paris.org
Sat Nov 23 11:07:15 PST 2013


Le samedi 23 novembre 2013 19:58:32, Andrea Peri a écrit :
> Hi Even,
> 
> I don't know the WFS 2.0 specs,
> can you say me if the 2.0 specs will support the DISTINCT query option.
> 
> I like to use the wfs to retrieve the list of distinct values from a field
> of a table.
> I see the actual wfs 1.1.0 systems don't support it, but perhaps the 2.0
> will do ?

No, it is not in the spec. And confirmed by 
https://www.google.fr/#q=wfs+distinct

One of the posts has an interesting suggestion : if you have some influence on 
the server, one possibility would be to have a view defined as "SELECT DISTINCT 
the_field FROM the_table", and exposing the view as a WFS typename.

> 
> Thx,
> 
> Andrea.
> 
> 
> 
> 2013/11/21 Even Rouault <even.rouault at mines-paris.org>
> 
> > Hi,
> > 
> > As I announced a few weeks ago, WFS 2.0 implementation + Inspire Download
> > Services was in the works.
> > Please find http://www.mapserver.org/development/rfc/ms-rfc-105.html for
> > review. A candidate implementation is available in a branch mentionned in
> > the
> > RFC.
> > 
> > Best regards,
> > 
> > Even
> > 
> > --
> > Geospatial professional services
> > http://even.rouault.free.fr/services.html
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the mapserver-dev mailing list