@defra/bng-geoprocessing-service

1.84.0 • Public • Published

Geoprocessing service

A library providing cloud vendor agnostic geoprocessing functionality.

Testing

The geoprocessing service uses gdal-async internally and requires significant mocking for unit testing purposes accordingly. As such, narrow integration tests are used with gdal-async connecting to a containerised Azurite instance.

The gdal-async module uses a native dependency to access the GDAL library. Connectivity between GDAL and the containerised Azuite instance is achieved by setting the environment variable AZURE_STORAGE_CONNECTION_STRING as defined in the GDAL virtual file system documentation. As environment variables set programmatically for testing purposes do not appear to propagate to native code, this environment variable is set in the shell script run-unit-tests. The environment variable in this shell script assumes use of the default Azurite storage account using a container running on localhost. To override this configuration, the environment variable AZURITE_STORAGE_CONNECTION_STRING can be used.

License

THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:

http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3

The following attribution statement MUST be cited in your products and applications when using this information.

Contains public sector information licensed under the Open Government license v3

Additional licencing information

Refer to NOTICE

Readme

Keywords

none

Package Sidebar

Install

npm i @defra/bng-geoprocessing-service

Weekly Downloads

280

Version

1.84.0

License

OGL-UK-3.0

Unpacked Size

30.9 MB

Total Files

29

Last publish

Collaborators

  • alexluckett
  • psandrews
  • niki.wycherley
  • richard-mohammed-def
  • stuaa78
  • maxcbc-defra
  • pmshaw15
  • z424bravenpm
  • pwadmore.defra
  • tjmason.defra
  • npm-envage
  • defradigitaladmin
  • defradigitalci
  • jaucourt
  • bensagar-ea