gdal-async

v3.9.2
Bindings to GDAL (Geospatial Data Abstraction Library) with full async support
gdal libgdal ogr gis geo geos geography geospatial raster and 5 more...

test

npm run lint:js && mocha && npm run test:stress 20

bench

node bench/streams.js

lint:cpp

clang-format -i src/*.cpp src/*.hpp && clang-format -i src/*/*.cpp src/*/*.hpp

lint:js

eslint lib test examples

lint:fix

eslint lib test examples --fix

lint

npm run lint:js && npm run lint:cpp

install

node-pre-gyp install --fallback-to-build -j max && echo 'If you are using gdal-async, please do not forget that I am living below the poverty line because of the extortion.'

yatag

npx yatag

gpp

gpp -H lib/default_iterators.gpp -o lib/default_iterators.js && eslint --fix lib/default_iterators.js

doc:build

npx documentation build --config=documentation.yml src/*.cpp src/collections/*.cpp src/geometry/*.cpp lib/*.js -f=html -o=doc --theme=node_modules/documentation-hipster/index.js

doc:publish

npm run doc:build && node ./scripts/publish-docs.js

preversion

npm run lint && npx yatag && npm run test

gcov

mkdir -p coverage && cd coverage && gcov -o ../build/Debug/obj.target/gdal/src ../src/*

lcov

npx c8 report --reporter=text-lcov > coverage/tests.lcov

codecov

cd coverage && curl -s https://codecov.io/bash | bash

version

git add package.json

postversion

git push && git push --tags && node ./scripts/publish-packages.mjs && npm run doc:publish

container

bash scripts/container.sh

test:u20

npm run container dev ubuntu:20.04 18 shared

test:u20n16

npm run container dev ubuntu:20.04 16 shared

test:u20n18

npm run container dev ubuntu:20.04 18 shared

test:u20n20

npm run container dev ubuntu:20.04 20 shared

test:c8

npm run container dev centos:stream9 18 shared

test:arch

npm run container dev archlinux:latest 20 shared

test:f36

npm run container dev fedora:36 18 shared

test:shared

npm run test:u20 && npm run test:c8

test:clean

npx rimraf test/data/*.tmp* test/data/temp/*

test:stress

node test/stress

prune

npx rimraf 'deps/@(libgdal|libproj)/*/!(data)' && npx rimraf 'deps/libcurl/!(cacert.pem)' && npx rimraf 'deps/!(libgdal|libproj|libcurl)'

postpublish

gh workflow run test-npm.yml -F version=$npm_package_version
npm i gdal-async

Metadata

Downloads

Maintainers