Hi,
I've tried to run the wfs 1.1.0 cite test to check whether Martin
modification affected it in any way (trying to get him the get
go for the merge back on 2.4.x) and I was greeted by 25 failures
much of which I've never seen.
As quick summary of the failures:
* some tests apparently assume the geometric properties of
primitiveGeoFeature are required? I have a test asking
only for the date property and the validation of the
result fails because they are not there?
* there is a test using "sf:measurand"... new feature type?
* failures for tests using urn:x-ogc:def:crs:FOO:2006.10:9999,
and the test is actually expecting a failure (I think so
at least) but the exception code is not the one expected
(it should have been "InvalidParameterValue", it's
"NoApplicableCode" instead).
* there are quite a bit of failures to to OOM... hummm...
do we have a memory leak lurking there? I've run GeoServer
with default JVM params, and for the standard cite test
64MB are plenty of memory imho?
* there is one test searching for a feature named "cite.gmlsf0-f503"
but there is no one in the dataset?
I've also found the axis flipping issue, but I tracked it
down in an error of mine: when flipping the data for postgis
I forgot to flip the coordinates of one feature, that's why
it was failing. The gml definition of that feauture is:
<sf:featureMember>
<sf:PrimitiveGeoFeature gml:id="f015">
<gml:name codeSpace="http://cite.opengeospatial.org/gmlsf">name\-f015</gml:name>
<sf:pointProperty>
<gml:Point srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326">
<gml:pos>34.94 -10.52</gml:pos>
</gml:Point>
</sf:pointProperty>
<sf:intProperty>-900</sf:intProperty>
<sf:measurand>-2.4</sf:measurand>
<sf:decimalProperty>7.90</sf:decimalProperty>
</sf:PrimitiveGeoFeature>
</sf:featureMember>
So the insert statement for postgis should have been:
INSERT INTO "PrimitiveGeoFeature" VALUES (NULL, 'name-f015', NULL, geometryfromtext('POINT(-10.52 34.94)',4326), NULL, -900, NULL, 2.4, NULL, NULL, 7.90, 'f015');
instead I had the coordinates in the same order as the GML.
Curious, is there any way to retrieve the official wfs 1.1.0 test?
I've noticed a "2007-RC1" tag in the tests repo, but that does not
sound very promising (the official ones should be early 2007 and
final, not RC, no?). I have the impression someone pointed me
at some zips some time ago, but cannot find them anymore...
Cheers
Andrea