-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Before I embark on what would be a very large pull request, I thought I'd first check in with you all on whether it makes sense. Today's Clojurescript release contains functionality which, I think, finally enables the ability to port geo to Clojurescript.
There are already javascript analogues to most of the functionality in here on the java side: jsts, proj4js, h3-js, and so on. I've already gotten proj4js mostly working, transforming the full list of projections already available to geo through proj4j. All of the interop issues between java spatial libraries apply just as much to javascript, so I think this would be similarly valuable, and having the syntax work similarly between platforms seems very very useful. As I keep working on libraries that build on top of geo, it'd open all of them up to working cross-platform too, with (hopefully) fairly low cljc syntax needed later on.
This would, though, be a big change to geo. It wouldn't change any of the existing library, but I'd need to add a bunch of .cljc logic whenever things drop down to java, which is often, or whenever functionality between java and javascript aren't quite the same. Similarly, this would probably require moving away from midje and to clojure.test, which allows for cross compatibility with cljs.test.
If this seems within the scope of this library, how would it sound for me to start working on a PR in a new branch?