JSTS Topology Suite
===================

Aims to port [JTS Topology Suite](http://tsusiatsoftware.net/jts/main.html) to JavaScript.

Code is conformant to the [Google JavaScript Style Guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml).

Testcases are made using the [Jasmine testing framework](https://github.com/pivotal/jasmine).

A nice future goal would be to also port the [JTS Validation Suite](http://www.vividsolutions.com/jts/tests/index.html).

This project is currently in its very initial stages, but pull requests are of course welcome. :)

Development environment
-----------------------

* Eclipse 3.6 using custom builders to check and enforce the Google JavaScript Style Guide

Short term goals
----------------

* Get more people involved (perhaps CLA agreements are needed and an explanation of how the copyright will be handled)
* Port essential parts of geom.*
* Port io.* (probably using OpenLayers formats)
* Implement floating precision
* Do not change APIs if avoidable

Long term goals
---------------

* Use tools to show code and test coverage
* Port needed parts of index.*
* Port operation.*
* Port noding.*
* Port simplify.*
* Port geom.prep.*
* Implement fixed precision
* Port validation suite as tests
* Port validation suite as application

Design changes
--------------

These are the effective and potential changes from the original JTS Topology Suite:

* Skip abstracted CoordinateSequence interface/implementation
* TODO: Unify Coordinate/Point classes (?)

JSTS Topology Suite
===================

Aims to port [JTS Topology Suite](http://tsusiatsoftware.net/jts/main.html) to JavaScript.

Code is conformant to the [Google JavaScript Style Guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml).

Testcases are made using the [Jasmine testing framework](https://github.com/pivotal/jasmine).

A nice future goal would be to also port the [JTS Validation Suite](http://www.vividsolutions.com/jts/tests/index.html).

This project is currently in its very initial stages, but pull requests are of course welcome. :)

Development environment
-----------------------

* Eclipse 3.6 using custom builders to check and enforce the Google JavaScript Style Guide

Short term goals
----------------

* Get more people involved (perhaps CLA agreements are needed and an explanation of how the copyright will be handled)
* Also use JSLint for code quality
* Port essential parts of geom.*
* Port io.* (probably using OpenLayers formats)
* Implement floating precision
* Do not change APIs if avoidable

Long term goals
---------------

* Use tools to show code and test coverage
* Port needed parts of index.*
* Port operation.*
* Port noding.*
* Port simplify.*
* Port geom.prep.*
* Implement fixed precision
* Port validation suite as tests
* Port validation suite as application

Design changes
--------------

These are the effective and potential changes from the original JTS Topology Suite:

* Skip abstracted CoordinateSequence interface/implementation
* TODO: Unify Coordinate/Point classes (?)

Add jslint as short term goal
Add jslint as short term goal