[mapserver-users] Postgres call 2 GetCapabilities attribute listing.

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Jan 10 09:42:36 PST 2017


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
>
>
>


More information about the mapserver-users mailing list