I've been poking at the WFS-NG module to look at the issues with sorting
and paging.

While doing this I came across a nasty issue with the WFS 2.0.0 bboxes, I
needed to reverse the axis order of the bbox
in testFeatureReaderWithFilterBBox()

    @Test
    public void testFeatureReaderWithFilterBBox() throws Exception {
        if (Boolean.FALSE.equals(serviceAvailable)) {
            return;
        }
        ReferencedEnvelope bbox =
wfs.getFeatureSource(testType.FEATURETYPENAME).getBounds();
        ReferencedEnvelope env = new ReferencedEnvelope(bbox.minY(),
bbox.minX(), bbox.maxY(), bbox.maxX(), bbox.crs());
        WFSOnlineTestSupport.doFeatureReaderWithBBox(wfs,
testType.FEATURETYPENAME, env);
    }

while this passes it doesn't seem right.

I suspect that the real answer is to append the crs to the end of the bbox
in the filter that's sent, but I'm not completely sure.

Can anyone confirm I'm on the right track before I head off down the rabbit
hole?

cheers

Ian

-- 
Ian Turton
------------------------------------------------------------------------------
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

Reply via email to