Discussion:
WFS DescribeFeatureType returns string for all attributes
S***@inspq.qc.ca
2014-10-10 16:14:41 UTC
Permalink
Hi,
I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers.
Most of the Layers are Postgis table or view
DescribeFeatureType on a layer returns "string" as data type for each
attributes. This is an issue when we want to flter on WFS layer.

I saw that this issue was discussed years ago
https://github.com/mapserver/docs/issues/65

Before Adding gml_[item name]_type for each non string attributes of every
layers...Is there a plan to fix this bug?

thank you
Steve
Rahkonen Jukka (Tike)
2014-10-10 16:29:16 UTC
Permalink
Hi,

TinyOWS publish the schema automatically right and it belongs to the Mapserver family. Perhaps you could have a try with it? Live test server here
http://hip.latuviitta.org/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetCapabilities

-Jukka Rahkonen-


________________________________
Steve Toutant wrote:

Hi,
I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view
DescribeFeatureType on a layer returns "string" as data type for each attributes. This is an issue when we want to flter on WFS layer.

I saw that this issue was discussed years ago
https://github.com/mapserver/docs/issues/65

Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug?

thank you
Steve
Smith, Michael ERDC-RDE-CRREL-NH
2014-10-10 16:29:31 UTC
Permalink
Steve,

Does

“gml_types” “auto"

not work for you?

Mike

--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers

From: "***@inspq.qc.ca<mailto:***@inspq.qc.ca>" <***@inspq.qc.ca<mailto:***@inspq.qc.ca>>
Date: Friday, October 10, 2014 at 12:14 PM
To: "mapserver-***@lists.osgeo.org<mailto:mapserver-***@lists.osgeo.org>" <mapserver-***@lists.osgeo.org<mailto:mapserver-***@lists.osgeo.org>>
Subject: [EXTERNAL] [mapserver-users] WFS DescribeFeatureType returns string for all attributes
Resent-From: Michael Smith <***@usace.army.mil<mailto:***@usace.army.mil>>


Hi,
I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view
DescribeFeatureType on a layer returns "string" as data type for each attributes. This is an issue when we want to flter on WFS layer.

I saw that this issue was discussed years ago
https://github.com/mapserver/docs/issues/65

Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug?

thank you
Steve
S***@inspq.qc.ca
2014-10-10 16:41:34 UTC
Permalink
Yes it works!
I didn't know about this

Wow, Many thanks
Steve




"Smith, Michael ERDC-RDE-CRREL-NH" <***@erdc.dren.mil>
2014-10-10 12:29

A
"***@inspq.qc.ca" <***@inspq.qc.ca>,
"mapserver-***@lists.osgeo.org" <mapserver-***@lists.osgeo.org>
cc

Objet
Re: [EXTERNAL] [mapserver-users] WFS DescribeFeatureType returns string
for all attributes








Steve,

Does

?gml_types? ?auto"

not work for you?

Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers

From: "***@inspq.qc.ca" <***@inspq.qc.ca>
Date: Friday, October 10, 2014 at 12:14 PM
To: "mapserver-***@lists.osgeo.org" <mapserver-***@lists.osgeo.org>
Subject: [EXTERNAL] [mapserver-users] WFS DescribeFeatureType returns
string for all attributes
Resent-From: Michael Smith <***@usace.army.mil>


Hi,
I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers.
Most of the Layers are Postgis table or view
DescribeFeatureType on a layer returns "string" as data type for each
attributes. This is an issue when we want to flter on WFS layer.

I saw that this issue was discussed years ago
https://github.com/mapserver/docs/issues/65

Before Adding gml_[item name]_type for each non string attributes of every
layers...Is there a plan to fix this bug?

thank you
Steve
Lime, Steve D (MNIT)
2014-10-10 16:21:36 UTC
Permalink
Hi Steve: I'm not aware of a plan to fix this in the short term (patches gladly accepted though)... Sorry.

Steve

From: mapserver-users-***@lists.osgeo.org [mailto:mapserver-users-***@lists.osgeo.org] On Behalf Of ***@inspq.qc.ca
Sent: Friday, October 10, 2014 11:15 AM
To: mapserver-***@lists.osgeo.org
Subject: [mapserver-users] WFS DescribeFeatureType returns string for all attributes

Hi,
I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view
DescribeFeatureType on a layer returns "string" as data type for each attributes. This is an issue when we want to flter on WFS layer.

I saw that this issue was discussed years ago
https://github.com/mapserver/docs/issues/65

Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug?

thank you
Steve

Loading...