Back to Explore

proj4js/wkt-parser

GitHub
1 updates · last 90 days1 watchersOpen source

Last release:

wkt-parser is a WKT parser extracted from proj4, intended for developers who need to parse WKT1, WKT2, and PROJJSON. It does not currently support geocentric (`GEOCCS`), and `COMPOUNDCS` is only supported for WKT1.

Project status

  • The repo (proj4js/wkt-parser) appears actively maintained, with an upstream push on 2026-08-11 and recent version updates in 2026 (v1.5.6 on 2026-07-23).
  • Apparent update cadence is evolving, with updates roughly every 1 to 3 months in 2026 (v1.5.6 on 2026-07-23, v1.5.5 on 2026-04-02, v1.5.4 on 2026-03-12).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.5.6

    v1.5.6 consolidates the WKT to PROJJSON conversion logic by removing the separate PROJJSONBuilder2015 and PROJJSONBuilder2019 implementations and switching buildPROJJSON to always use a single PROJJSONBuilder. The code also changes the coordinate_system output shape by replacing coordinate_system.type with coordinate_system.subtype, with additional logic around how the subtype is derived.

    Breaking
  • v1.5.5

    Release v1.5.5 makes targeted behavioral changes to WKT parsing and projection defaulting, plus a large dependency/tooling lockfile update. No release notes were provided, so the following differences are inferred directly from the code diff.

    Breaking
  • v1.5.4

    Release v1.5.4 was published on 2026-03-12, but no release notes were provided by the publisher. As a result, the specific code changes, potential API impacts, and any required migration steps cannot be determined from the provided information.

  • v1.5.3

    Release v1.5.3 primarily updates the package version metadata. The only functional code change visible in the diff is in wkt2_parser.js, where the example usage code at the bottom of the file is commented out, removing any side effects on load.

  • v1.5.2

    Release v1.5.2 contains mostly internal changes, including an upgrade to the project's ESLint setup (moving from .eslintrc to eslint.config.js) and formatting-related string literal normalization. The functional code diff also includes a couple of logic changes in the WKT node value handling and in how WKT2-2019 USAGE information is represented in generated PROJJSON. No release notes were provided by the publisher.

  • v1.5.1

    Release v1.5.1 includes only a very small set of changes. The package version is bumped, and there is a minor internal import path update in transformPROJJSON.js.

  • v1.5.0

    v1.5.0 significantly expands the library by adding a WKT version detection path (WKT1 vs WKT2) and a PROJJSON conversion/transform pipeline. It also migrates the package to native ESM (package.json type=module, removed esm test loader) and refactors projection default handling into shared utilities.

    Features
  • v1.4.0

    Release v1.4.0 has no publisher release notes, but the code diff shows meaningful changes to the WKT parser behavior and the package build/output layout. The main functional change is a different return shape from the default export, along with additional metadata enrichment of parsed CRS objects.

    BreakingFeatures
  • v1.3.3

    Release v1.3.3 has no documented release notes, but the actual code changes include updates to WKT parsing tokenization and projection-specific parameter normalization. The bundled build and the source both adjust keyword parsing to accept underscores, and the WKT cleanup logic adds a new case for the 'Polar_Stereographic' projection when latitude parameters are missing.

  • v1.3.1

    Release v1.3.1 was published on 2021-06-16. No release notes or change details were provided by the publisher, so developer impact cannot be determined from the release description alone.