From: Santiago T. <sti...@gm...> - 2013-05-14 10:22:53
|
Hello, I have several shapefile datastores and I would like to show in a client application the set of attributes for a given layer. Is it possible to obtain the set of data columns via WFS? Thanks in advance, Santi |
From: Andrea A. <and...@ge...> - 2013-05-14 10:39:57
|
On Tue, May 14, 2013 at 12:22 PM, Santiago Timón <sti...@gm...>wrote: > Hello, > > I have several shapefile datastores and I would like to show in a client > application the set of attributes for a given layer. Is it possible to > obtain the set of data columns via WFS? > Use the DescribeFeatureType WFS request, it gives you back the xml schema of the GML, which in turns contains all elements and their types Cheers Andrea -- == GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |
From: Santiago T. <sti...@gm...> - 2013-05-14 10:41:11
|
Thank you Andrea, I will try it. Santi 2013/5/14 Andrea Aime <and...@ge...> > On Tue, May 14, 2013 at 12:22 PM, Santiago Timón <sti...@gm...>wrote: > >> Hello, >> >> I have several shapefile datastores and I would like to show in a client >> application the set of attributes for a given layer. Is it possible to >> obtain the set of data columns via WFS? >> > > Use the DescribeFeatureType WFS request, it gives you back the xml schema > of the GML, which in turns contains all elements and their types > > Cheers > Andrea > > > -- > == > GeoServer training in Milan, 6th & 7th June 2013! Visit > http://geoserver.geo-solutions.it for more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > |