All Projects → ddohler → gdal-js

ddohler / gdal-js

Licence: other
This is an Emscripten port of GDAL, an open source X/MIT licensed translator library for raster and vector geospatial data formats.

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects
SWIG
194 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to gdal-js

Mapserver
Source code of the MapServer project. Please submit pull requests to the 'main' branch.
Stars: ✭ 693 (+755.56%)
Mutual labels:  geospatial, gdal
geodot-plugin
Godot plugin for loading geospatial data
Stars: ✭ 37 (-54.32%)
Mutual labels:  geospatial, gdal
H3 Js
h3-js provides a JavaScript version of H3, a hexagon-based geospatial indexing system.
Stars: ✭ 418 (+416.05%)
Mutual labels:  geospatial, emscripten
Geocube
Tool to convert geopandas vector data into rasterized xarray data.
Stars: ✭ 87 (+7.41%)
Mutual labels:  geospatial, gdal
Rioxarray
geospatial xarray extension powered by rasterio
Stars: ✭ 148 (+82.72%)
Mutual labels:  geospatial, gdal
GDAL.jl
Thin Julia wrapper for GDAL - Geospatial Data Abstraction Library
Stars: ✭ 78 (-3.7%)
Mutual labels:  geospatial, gdal
krawler
A minimalist (geospatial) ETL
Stars: ✭ 51 (-37.04%)
Mutual labels:  geospatial, gdal
awesome-geospatial-list
A curated list of geospatial tools, data, tutorials, information, and more
Stars: ✭ 32 (-60.49%)
Mutual labels:  geospatial, gdal
blocl-bnglatlon
Converts british national grid (OSBG36) to lat lon (WGS84) and vice versa.
Stars: ✭ 16 (-80.25%)
Mutual labels:  geospatial
ibmpairs
open source tools for interaction with IBM PAIRS:
Stars: ✭ 23 (-71.6%)
Mutual labels:  geospatial
koder
QR/bar code scanner for the Browser
Stars: ✭ 73 (-9.88%)
Mutual labels:  emscripten
carto-spatial-extension
A set of UDFs and Procedures to extend BigQuery, Snowflake, Redshift and Postgres with Spatial Analytics capabilities
Stars: ✭ 131 (+61.73%)
Mutual labels:  geospatial
registrant
Python package used for generating HTML reports about the contents of Esri geodatabases.
Stars: ✭ 44 (-45.68%)
Mutual labels:  gdal
dask-rasterio
Read and write rasters in parallel using Rasterio and Dask
Stars: ✭ 82 (+1.23%)
Mutual labels:  gdal
xyz-hub
XYZ Hub is a RESTful web service for the access and management of geospatial data.
Stars: ✭ 43 (-46.91%)
Mutual labels:  geospatial
fgpv-vpgf
RAMP2 FGP Visualiser / Visualisateur pour la PGF PCAR2 - The Reusable Accessible Mapping Platform (RAMP), also known as the Federal Geospatial Platform Visualiser (FGPV), is a Javascript based web mapping platform that provides a reusable, responsive and WCAG 2.1 "AA" compliant common viewer platform for the Government of Canada. This is an unsu…
Stars: ✭ 34 (-58.02%)
Mutual labels:  geospatial
geojson-mongo-import.py
Import GeoJSON file into MongoDB using Python
Stars: ✭ 20 (-75.31%)
Mutual labels:  geospatial
GIBS-Downloader
GIBS Downloader is a command-line tool which facilitates the downloading of NASA satellite imagery and offers different functionalities in order to prepare the images for training in a machine learning pipeline.
Stars: ✭ 26 (-67.9%)
Mutual labels:  gdal
hello-webgpu
Cross-platform C++ example for WebGPU and Dawn
Stars: ✭ 132 (+62.96%)
Mutual labels:  emscripten
interpies
A collection of functions for reading, displaying, transforming and analyzing geophysical data.
Stars: ✭ 26 (-67.9%)
Mutual labels:  gdal

GDAL JS

An Emscripten port of GDAL 2.1.

Installation

npm install gdal-js

Usage

Caution! It is strongly recommended to run this code inside of a web worker. To see complete examples for how to do this, checkout the examples directory. From simplest to most complex, these are:

  1. inspect_geotiff
  2. map_extent
  3. thumbnail
  4. thumbnail_map
  5. tile_tiff

If you want to use GDAL from within a Node application, you are probably looking for https://www.npmjs.com/package/gdal.

This library exports the following GDAL functions:

  • CSLCount
  • GDALSetCacheMax
  • GDALAllRegister
  • GDALOpen
  • GDALOpenEx
  • GDALClose
  • GDALGetDriverByName
  • GDALCreate
  • GDALCreateCopy
  • GDALGetRasterXSize
  • GDALGetRasterYSize
  • GDALGetRasterCount
  • GDALGetRasterDataType
  • GDALGetRasterBand
  • GDALGetRasterStatistics
  • GDALGetRasterMinimum
  • GDALGetRasterMaximum
  • GDALGetRasterNoDataValue
  • GDALGetProjectionRef
  • GDALSetProjection
  • GDALGetGeoTransform
  • GDALSetGeoTransform
  • OSRNewSpatialReference
  • OSRDestroySpatialReference
  • OSRImportFromEPSG
  • OCTNewCoordinateTransformation
  • OCTDestroyCoordinateTransformation
  • OCTTransform
  • GDALCreateGenImgProjTransformer
  • GDALDestroyGenImgProjTransformer
  • GDALGenImgProjTransform
  • GDALDestroyGenImgProjTransformer
  • GDALSuggestedWarpOutput
  • GDALTranslate
  • GDALTranslateOptionsNew
  • GDALTranslateOptionsFree
  • GDALWarpAppOptionsNew
  • GDALWarpAppOptionsSetProgress
  • GDALWarpAppOptionsFree
  • GDALWarp
  • GDALBuildVRTOptionsNew
  • GDALBuildVRTOptionsFree
  • GDALBuildVRT
  • GDALReprojectImage
  • CPLError
  • CPLSetErrorHandler
  • CPLQuietErrorHandler
  • CPLErrorReset
  • CPLGetLastErrorMsg
  • CPLGetLastErrorNo
  • CPLGetLastErrorType
  • GDALRasterize
  • GDALRasterizeOptionsNew
  • GDALRasterizeOptionsFree
  • GDALDEMProcessing
  • GDALDEMProcessingOptionsNew
  • GDALDEMProcessingOptionsFree

For documentation of these functions' behavior, please see the GDAL documentation

In order to limit build size, GDAL is currently built with support for GeoTIFFs and PNGs only.

Developing

  1. Install Docker
  2. Run ./scripts/setup, which will build the Docker container.
  3. Run ./scripts/make gdal. The make script just calls make from inside the Docker container.
  4. ./scripts/make clean works as expected.
  5. To package up a release, run ./scripts/make VERSION=<number> release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].