Apologies for spelling your name wrong Jukka, darn.

-jeff



On 2017-01-10 1:41 PM, Jeff McKenna wrote:
On 2017-01-10 1:29 PM, Rahkonen Jukka (MML) wrote:
I would activate WFS and send DescribeFeatureType for reading the
schema. No need to support other WFS request. All you need is less than
ten new metadata lines in your mapfile and you can make Mapserver to
publish both the column names and their data types.


Good point Yukka.  Then use JavaScript or whatever your lang preference
is) to parse those WFS results and populate your form.  This is similar
to the WMS/GetFeatureInfo way.

Example WFS request:
http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&Typename=cities


-jeff



_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to