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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Wed Jan 11 02:29:10 PST 2017


It means that you know how to pronounce it. Even "Yucca" would not make me angry enough for starting to send nasty tweets about you. Don't know how the plants would take it.

-Jukka-

 
-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Jeff McKenna
Lähetetty: 10. tammikuuta 2017 19:43
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: Re: [mapserver-users] Postgres call 2 GetCapabilities attribute listing.

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&REQUES
> T=DescribeFeatureType&Typename=cities
>
>
> -jeff
>
>
>
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list