Hello,
Introducing a new library, written in TypeScript, to process, and reproject CoverageJSON documents. Link to Repo
Loosely inspired by predecessor projects such as covutils, leaflet-coverage and coverage-reader and does borrow some logic but with some differences such as:
- It is not a one size fits all. You can easily extend these classes or implement your own.
- Modularization: Each domain is processed independently, mapping plugins only render the GeoJSON mappings and code is reshared. I am developing a charting plugin but you can build your own.
- Objects such as Domains, Coverages and CoverageCollections have their own equivalent classes which extend their functionality and allow conversion back to plain objects.
- Uses the [x,y] coordinate order for everything. You can easily override the
Referencing class to swap the order
So, the gist is this library allows you to process CoverageJSON without a lot of defaults. At current time, the aforementioned libraries are the default and may be considerably faster that this library and maybe considerably stable.
That said, I would like feedback to ascertain what I have overlooked and what your typical usecase looks like while I implement the charts plugin. While the core package is considerably stable, a few more tweaks are needed before a stable release.
I would also appreciate some co-owners of the TypeScript definitions package for this standard over at DefinitelyTyped
Hello,
Introducing a new library, written in TypeScript, to process, and reproject CoverageJSON documents. Link to Repo
Loosely inspired by predecessor projects such as covutils, leaflet-coverage and coverage-reader and does borrow some logic but with some differences such as:
Referencingclass to swap the orderSo, the gist is this library allows you to process CoverageJSON without a lot of defaults. At current time, the aforementioned libraries are the default and may be considerably faster that this library and maybe considerably stable.
That said, I would like feedback to ascertain what I have overlooked and what your typical usecase looks like while I implement the charts plugin. While the core package is considerably stable, a few more tweaks are needed before a stable release.
I would also appreciate some co-owners of the TypeScript definitions package for this standard over at DefinitelyTyped