Skip to content

Releases: sbrl/terrain50

v1.11

06 Dec 16:14
93c0664
Compare
Choose a tag to compare

Install or update from npm:

npm install --save terrain50

v1.11 (6th December 2022)

  • Add .to_json() to convert a Terrain50 instance to an object for JSON serialisation.
  • Add static method Terrain50.FromJson() to convert a JSON-serialised
  • Update development dependencies

v1.10.1

01 May 16:15
c616a65
Compare
Choose a tag to compare

Install or update from npm:

npm install --save terrain50

v1.10.1

  • Fix errors in documentation
  • Update dependencies

v1.10

26 Jan 19:15
fd9c22b
Compare
Choose a tag to compare
  • .scale(), .shift(): Don't alter NODATA values
  • .min_value, .max_value: Allow setting to update underlying 2d array

Install or update from npm:

npm install --save terrain50

v1.9.7

15 Jan 18:09
78c27ae
Compare
Choose a tag to compare
  • Add more examples to documentation (this shows immediately in the api docs)
  • Update dependencies

Install or update from npm:

npm install --save terrain50

v1.9.2

05 Nov 15:37
1229525
Compare
Choose a tag to compare
  • Fix disappearing NODATA values when downscaling

Install or update from npm:

npm install --save terrain50

v1.8.4

14 Oct 16:54
90a0e30
Compare
Choose a tag to compare
  • Fix scaling down inputs that contain NODATA values

Install or update from npm:

npm install --save terrain50

v1.8.3

02 Oct 17:31
aee64dc
Compare
Choose a tag to compare
  • Allow the character e when validating with Terrain50.Validate(string) to allow for very small numbers

Install or update from npm:

npm install --save terrain50

v1.8

28 Sep 16:59
7a726ae
Compare
Choose a tag to compare
  • Add terrain50_instance.analyse_frequencies() for data value frequency analysis
  • Add Terrain50.AnalayseFrequencies()

Install or update from npm:

npm install --save terrain50

v1.7

16 Jul 16:13
53c8d34
Compare
Choose a tag to compare

Install or update from npm:

npm install --save terrain50

v1.7

  • Terrain50.Parse(): Ensure that the passed argument is actually a string
  • Terrain50.ParseStream():
    • Use a single space in a string as the default delimiter to improve performance (using a regex such as /\s+/ is still supported via the new values_delimiter parameter).
    • Fix code in example

v1.5.1

11 Jun 17:17
321ff87
Compare
Choose a tag to compare
  • Terrain50.ParseStream: Allow data values like 1.5106e-05
  • Update dependencies

Install or update from npm:

npm install --save terrain50