[Dev] [spatial4j/spatial4j] 22b8a6: Delete ShapeReadWriter; old format is in LegacySha...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Dev] [spatial4j/spatial4j] 22b8a6: Delete ShapeReadWriter; old format is in LegacySha...

GitHub
  Branch: refs/heads/master
  Home:   https://github.com/spatial4j/spatial4j
  Commit: 22b8a6534c4ac6ece03c9d2cd438ba90e1e271cd
      https://github.com/spatial4j/spatial4j/commit/22b8a6534c4ac6ece03c9d2cd438ba90e1e271cd
  Author: David Smiley <[hidden email]>
  Date:   2014-01-03 (Fri, 03 Jan 2014)

  Changed paths:
    M src/main/java/com/spatial4j/core/context/SpatialContext.java
    M src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java
    M src/main/java/com/spatial4j/core/io/JtsShapeReadWriter.java
    A src/main/java/com/spatial4j/core/io/JtsWKTReaderShapeParser.java
    A src/main/java/com/spatial4j/core/io/LegacyShapeReadWriterFormat.java
    R src/main/java/com/spatial4j/core/io/ShapeReadWriter.java
    R src/test/java/com/spatial4j/core/io/JtsShapeReadWriterTest.java
    A src/test/java/com/spatial4j/core/io/JtsWKTReaderShapeParserTest.java

  Log Message:
  -----------
  Delete ShapeReadWriter; old format is in LegacyShapeReadWriterFormat.

Added JTSWKTReaderShapeParser using most of the code that used to be in JtsShapeReaderWriter.  JSRW was gutted of that code leaving just the binary format. That'll get migrated further in a bit.

Kept ctx.readShape(str) & ctx.toString(shape) which should still work and remain deprecated.



_______________________________________________
dev mailing list
[hidden email]
http://lists.spatial4j.com/listinfo.cgi/dev-spatial4j.com