terriajs-server icon indicating copy to clipboard operation
terriajs-server copied to clipboard

Replace dependency proj4js-defs

Open na9da opened this issue 4 years ago • 2 comments

The /proj4def endpoints uses this dependency which has an unstated license.

Alternatives:

  • proj4js-defs itself is the output of a script. We could replace the dependency with the output instead.
  • Also from Kevin:

    Betcha you could replace it within a one liner against a PostGIS database we have lying around

na9da avatar Jan 05 '21 04:01 na9da

Created last night a https://github.com/zoran995/proj4-cli small CLI connects to the PostGIS database and generates the espg.js file the same as in node-proj4js-defs. There is also a generated version of file in it

zoran995 avatar Jul 14 '21 09:07 zoran995

@na9da I think https://github.com/yuletide/node-proj4js-defs/pull/2 solves this issue.

pjonsson avatar Aug 13 '24 13:08 pjonsson