[Geotools-devel] Reminder: GeoTools / GeoServer meeting at 19:30 UTC on Tuesday

2018-06-25 Thread Ben Caradoc-Davies

GeoTools / GeoServer committee meeting on Skype at 19:30 UTC on Tuesday:
https://www.timeanddate.com/worldclock/fixedtime.html?msg=GeoTools+/+GeoServer+Meeting=2018=6=26=19=30=0=1

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Question regarding encoding of GetPropertyValue response in WFS 2.0

2018-06-25 Thread Daniel Urda
Hi,
While going over errors encountered by an app-schema based WFS service on
Geoserver when testing with teamengine, I noticed that GeoTools currently
encodes any simple attribute (having only a textnode) as a full object. It
is my understanding that the WFS 2.0 standard requires such attributes to
be returned as simple text nodes. The WFS 2.0 standard says that "The
response shall be a text node or a list of element nodes that is the value
of the node pointed to by the valueReference parameter." (section
10.2.4.3). Furthermore, see example GetPropertyValue exchanges in Annex B
(e.g. sections B.4.5 and B.4.7)

Consequently, the following GET (taken from GeoServer's app-schema tests):
?request=GetPropertyValue=2.0.0=gsml:MappedFeature=gml:name=1

should return

GUNTHORPE FORMATION


instead of:


GUNTHORPE FORMATION



I expect any change to be breaking, thus I am interested what is the
community's opinion on this issue (i.e. correct encoding of the
GetPropertyValue  response). Looking a bit over the code, a "clean"
solution doesn't appear trivial (if the current implementation is the one
expected, I'll probably go for some quick hack for my local
implementation)

Thank you,
Daniel Urda
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel