opengeospatial / opengeospatial/CoverageJSON

New CovJson Library

Open
#229 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Implementations
Dominant language
HTML
Stars
15
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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:

  1. It is not a one size fits all. You can easily extend these classes or implement your own.
  2. 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.
  3. Objects such as Domains, Coverages and CoverageCollections have their own equivalent classes which extend their functionality and allow conversion back to plain objects.
  4. 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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked covjson repository and the CoverageJSON TypeScript definitions package mentioned in the issue. The issue requests feedback, use cases, charting-plugin input, and possible co-owners rather than naming a bounded code change or completion test, so a contributor should first clarify the desired task and its definition of done.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.