hello ,

I think there is an bug in FeatureTransformer.writeBounds.

It encodes an Polygon instead of an Envelope.

This causes an invalid WFS 1.0.0 response.

I changed the Code to
 Envelope env = null;
                if (bounds != null){
                        env = new Envelope(new Coordinate(bounds.getMinX(),
bounds.getMinY()),new Coordinate(bounds.getMaxX(), bounds.getMaxY()));
                }
                geometryTranslator.encode(env, srsName);

Should I generate an Ticket or will anyone review this issue?
I also can commit my changes.


Tim


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to