Re: New Spatial module checked in

2012-06-12 Thread Itamar Syn-Hershko
I'm going to make all parsing stuff in the spatial module use InvariantCulture, this way we can make sure we know exactly what format to expect the shapes to be in On Wed, May 30, 2012 at 8:30 PM, Simon Svensson wrote: > You're closing the reader in SpatialTestCase.TearDown(), while > SpecialTes

Re: New Spatial module checked in

2012-05-30 Thread Simon Svensson
You're closing the reader in SpatialTestCase.TearDown(), while SpecialTestCase.commit() only checks if it is null, not closed. Setting indexReader = null in TearDown() solves the AlreadyClosedException. There's another issue with cultures, SpatialContext.ReadStandardShape calls Double.Parse wh

New Spatial module checked in

2012-05-30 Thread Itamar Syn-Hershko
I was finally able to get git and svn talk to one another, and pushed my recent changes into trunk. The new Spatial contrib is bearing the non-standard version of 2.9.9, on purpose. It also contains Spatial4n in a binary form, mimicking the way it works in Java Lucene. The few tests that present