Thanks! I guess your hint about minOccurs should help to solve the problem.
I had a second look at the  DescribeFeatureType output and all values set
to "0" (and maxOccurs is set to "1") - sorry for this confusion and the
clarification for POST request format itself.

- Frank


2013/5/24 Andrea Aime <[email protected]>

> On Fri, May 24, 2013 at 10:19 AM, Frank Gasdorf <
> [email protected]> wrote:
>
>> Andrea, you are right, the used feature type has all minOccurs values set
>> to "1" whereas nillable is set to "true". Later confuses me a bit because
>> mandatory properties which can be null? Or what does it mean if the
>> property nillable is set tu true?
>>
>> Used request :
>> http://demo.opengeo.org/geoserver/topp/wfs?request=DescribeFeatureType&typeName=topp:tasmania_state_boundaries
>>
>>
>
> No no, it means that all properties are optional
> I had another look at your request, and it's ill formed: you cannot do a
> POST request but do property selection in the url,
> mixing the two styles for output format works just by accident.
>
> This one if properly setup, and works as expected:
>
>
> http://demo.opengeo.org/geoserver/topp/wfs?request=GetFeature&version=1.1.0&service=wfs&typeName=topp:tasmania_state_boundaries&propertyName=STATE&outputFormat=csv
>
> Cheers
> Andrea
>
>
> --
> ==
> GeoServer training in Milan, 6th & 7th June 2013!  Visit
> http://geoserver.geo-solutions.it for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to