[geos-devel] Bug in WKBReader

'strk' strk at keybit.net
Tue Sep 21 06:54:30 EDT 2010


On Tue, Sep 21, 2010 at 03:51:30AM +0200, Hugues Romain (RCSmobility) wrote:
> 
> > I agree with the patch and can commit it.
> > Only, would you be so kind to also add a testcase for it in
> tests/unit/io/WKBReaderTest.cpp ?
> 
> In that file, the cases do not concern the SRID attribute, so it is
> necessary to write a new test function for that, taking GeometryFactory as a
> parameter and not a constant.

No need to overgeneralize, a couple of new tests:
one for checking default factory SRID and one for 
checking override would be good enough.

Thanks for your time.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list