[Geoserver-users] Attribute shows up only with WFS-1.0.0

I have a problem with a field of type string named "name" in
DescribeFeatureType.

It only pops up when WFS-1.0.0 is used

URL:
http://vogis.cnv.at/geoserver/vogis/ows/?VERSION=1.0.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=gs_seen
<http://vogis.cnv.at/geoserver/vogis/ows/?VERSION=1.0.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=gs_seen&gt;

Reply:
...
<xsd:element maxOccurs="1" minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
...

With any other WFS-Version that particular field is not returned.

Could this be a problem with the name of the field which actually is "name"
.

Thanks
Andy

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Attribute-shows-up-only-with-WFS-1-0-0-tp5181495.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Not quite sure Andy, the GML spec does provide some standard (but optional) attributes for name, description, bounds etc… I wonder if one of them snuck out of the encoder at you?

Can you produce this issue with a plain geoserver install? If so you have a solid bug report on your hands. Other than that it would be good to note what data store you are using in case we are looking at a problem there.

Jody

···

On 14 January 2015 at 07:11, sulu <andreas.siegel@anonymised.com> wrote:

I have a problem with a field of type string named “name” in
DescribeFeatureType.

It only pops up when WFS-1.0.0 is used

URL:
http://vogis.cnv.at/geoserver/vogis/ows/?VERSION=1.0.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=gs_seen
<http://vogis.cnv.at/geoserver/vogis/ows/?VERSION=1.0.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=gs_seen>

Reply:

<xsd:element maxOccurs=“1” minOccurs=“0” name=“name” nillable=“true”
type=“xsd:string”/>

With any other WFS-Version that particular field is not returned.

Could this be a problem with the name of the field which actually is “name”
.

Thanks
Andy


View this message in context: http://osgeo-org.1560.x6.nabble.com/Attribute-shows-up-only-with-WFS-1-0-0-tp5181495.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Jody Garnett

Hi Jody.

This is a plain Geoserver install.
I just threw the 2.6.0-war-File at Tomcat, configured a PostGIS-Data-Source
and plublished some tables.
The string attribute in question showed up once i renamed it from "name" to
"nname" so my guess is that GS has some problem tih attributes called
"name".

Btw. the services a publicly accessible so if somebody wants to check by
themselves, please do.

Andy

PS: I can reproduce the same issue with GS-2.6.1 on my test server

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Attribute-shows-up-only-with-WFS-1-0-0-tp5181495p5181600.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

The problem persists even with version 2.12.1.

Version=1.0.0:
http://vogis.cnv.at/geoserver/vogis/ows/?VERSION=1.0.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=biotope
...
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="area_m2" nillable="true"
type="xsd:int"/>
<xsd:element maxOccurs="1" minOccurs="0" name="biotopnr" nillable="true"
type="xsd:int"/>
...

Version=1.1.0
http://vogis.cnv.at/geoserver/vogis/ows/?VERSION=1.1.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=biotope
...
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="area_m2" nillable="true"
type="xsd:int"/>
<xsd:element maxOccurs="1" minOccurs="0" name="biotopnr" nillable="true"
type="xsd:int"/>
...

Note that element "name" is missing.
This is quite annoying.
Is there a chance that it my get fixed eventually :wink:

Andy

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html