Hi, I added a new field "NAME" into the states shapefile and published it again with Geoserver 2.12.1. First rows from http://localhost:8080/geoserver/wfs?service=wfs&version=1.1.0&request=describefeaturetype&typename=topp:states do show this new attribute
<xsd:sequence> <xsd:element maxOccurs="1" minOccurs="0" name="the_geom" nillable="true" type="gml:MultiSurfacePropertyType"/> <xsd:element maxOccurs="1" minOccurs="0" name="NAME" nillable="true" type="xsd:string"/> <xsd:element maxOccurs="1" minOccurs="0" name="STATE_NAME" nillable="true" type="xsd:string"/> However, if I rename "NAME" into lowercase "name" it does not appear in the WFS 1.1.0 or WFS 2.0.0 DescribeFeatureType. If you have not already created a ticket into the Geoserver Jira, please do and add this information so that the developers have an easy way to reproduce the issue. As usual with open source projects, it is always possible that bugs get fixed but unfortunately it is never guaranteed. Clear bug reports with an easy way to reproduce the issue gives better chances as well as all possible help in finding where the error happens, not to mention pull request or funding. -Jukka Rahkonen- -----Alkuperäinen viesti----- Lähettäjä: sulu [mailto:[email protected]] Lähetetty: 10. tammikuuta 2018 14:02 Vastaanottaja: [email protected] Aihe: Re: [Geoserver-users] Attribute shows up only with WFS-1.0.0 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 ;-) Andy -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
