Coder Social home page Coder Social logo

GDAL Integration about deck.gl-native HOT 5 OPEN

unfoldedinc avatar unfoldedinc commented on July 28, 2024
GDAL Integration

from deck.gl-native.

Comments (5)

ibgreen avatar ibgreen commented on July 28, 2024

Pushed branch ib/gdal that installs gdal via vcpkg.

Issues:

  • On MacOS it takes half an hour to build all dependencies (a very long list of compression library dependencies that we likely don't need).
  • This install could be almost OK if only done once per developer, but would kill CI if also happens on linux.
  • We either need to find a version of GDAL that doesn't include all those dependencies.
  • Or make the compilation of GDAL dependent loaders optional and disabled in CI.
  • Or create a second build target for those libraries,
  • etc.
  • Once integrated, we should be able to make a converter from GDAL feature collections to Arrow tables (similar to @loaders.gl/gis module)

from deck.gl-native.

isaacbrodsky avatar isaacbrodsky commented on July 28, 2024

On Ubuntu Linux, can we just install libgdal-dev libgdal20? Ubuntu Bionic has version 2.2.3+dfsg-2

from deck.gl-native.

ibgreen avatar ibgreen commented on July 28, 2024

Yes... Does that come with headers etc? Or is that just the link library?

from deck.gl-native.

isaacbrodsky avatar isaacbrodsky commented on July 28, 2024

-dev suffix is the package with headers, non-suffixed is the shared object.

$ dpkg-query -L libgdal-dev libgdal20
/.
/usr
/usr/bin
/usr/bin/gdal-config
/usr/include
/usr/include/gdal
/usr/include/gdal/cpl_atomic_ops.h
/usr/include/gdal/cpl_aws.h
/usr/include/gdal/cpl_config.h
/usr/include/gdal/cpl_config_extras.h
/usr/include/gdal/cpl_conv.h
/usr/include/gdal/cpl_cpu_features.h
/usr/include/gdal/cpl_csv.h
/usr/include/gdal/cpl_error.h
/usr/include/gdal/cpl_google_cloud.h
/usr/include/gdal/cpl_hash_set.h
/usr/include/gdal/cpl_http.h
/usr/include/gdal/cpl_list.h
/usr/include/gdal/cpl_minixml.h
/usr/include/gdal/cpl_minizip_ioapi.h
/usr/include/gdal/cpl_minizip_unzip.h
/usr/include/gdal/cpl_minizip_zip.h
/usr/include/gdal/cpl_multiproc.h
/usr/include/gdal/cpl_odbc.h
/usr/include/gdal/cpl_port.h
/usr/include/gdal/cpl_progress.h
/usr/include/gdal/cpl_quad_tree.h
/usr/include/gdal/cpl_sha1.h
/usr/include/gdal/cpl_sha256.h
/usr/include/gdal/cpl_spawn.h
/usr/include/gdal/cpl_string.h
/usr/include/gdal/cpl_time.h
/usr/include/gdal/cpl_virtualmem.h
/usr/include/gdal/cpl_vsi.h
/usr/include/gdal/cpl_vsi_error.h
/usr/include/gdal/cpl_vsi_virtual.h
/usr/include/gdal/cpl_vsil_curl_priv.h
/usr/include/gdal/cpl_worker_thread_pool.h
/usr/include/gdal/cplkeywordparser.h
/usr/include/gdal/gdal.h
/usr/include/gdal/gdal_alg.h
/usr/include/gdal/gdal_alg_priv.h
/usr/include/gdal/gdal_csv.h
/usr/include/gdal/gdal_frmts.h
/usr/include/gdal/gdal_mdreader.h
/usr/include/gdal/gdal_pam.h
/usr/include/gdal/gdal_priv.h
/usr/include/gdal/gdal_proxy.h
/usr/include/gdal/gdal_rat.h
/usr/include/gdal/gdal_simplesurf.h
/usr/include/gdal/gdal_utils.h
/usr/include/gdal/gdal_version.h
/usr/include/gdal/gdal_vrt.h
/usr/include/gdal/gdalexif.h
/usr/include/gdal/gdalgeorefpamdataset.h
/usr/include/gdal/gdalgrid.h
/usr/include/gdal/gdalgrid_priv.h
/usr/include/gdal/gdaljp2abstractdataset.h
/usr/include/gdal/gdaljp2metadata.h
/usr/include/gdal/gdaljp2metadatagenerator.h
/usr/include/gdal/gdalpansharpen.h
/usr/include/gdal/gdalsse_priv.h
/usr/include/gdal/gdalwarper.h
/usr/include/gdal/gdalwarpkernel_opencl.h
/usr/include/gdal/gnm.h
/usr/include/gdal/gnm_api.h
/usr/include/gdal/gnmgraph.h
/usr/include/gdal/gvgcpfit.h
/usr/include/gdal/internal_qhull_headers.h
/usr/include/gdal/memdataset.h
/usr/include/gdal/ogr_api.h
/usr/include/gdal/ogr_core.h
/usr/include/gdal/ogr_feature.h
/usr/include/gdal/ogr_featurestyle.h
/usr/include/gdal/ogr_geocoding.h
/usr/include/gdal/ogr_geometry.h
/usr/include/gdal/ogr_p.h
/usr/include/gdal/ogr_spatialref.h
/usr/include/gdal/ogr_srs_api.h
/usr/include/gdal/ogrsf_frmts.h
/usr/include/gdal/rawdataset.h
/usr/include/gdal/thinplatespline.h
/usr/include/gdal/vrtdataset.h
/usr/lib
/usr/lib/libgdal.a
/usr/lib/pkgconfig
/usr/lib/pkgconfig/gdal.pc
/usr/share
/usr/share/doc
/usr/share/doc/libgdal-dev
/usr/share/doc/libgdal-dev/NEWS.Debian.gz
/usr/share/doc/libgdal-dev/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libgdal-dev
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gdal-config.1.gz
/usr/lib/libgdal.so
/usr/share/doc/libgdal-dev/changelog.Debian.gz

/.
/usr
/usr/lib
/usr/lib/libgdal.so.20.3.2
/usr/share
/usr/share/doc
/usr/share/doc/libgdal20
/usr/share/doc/libgdal20/TODO.Debian
/usr/share/doc/libgdal20/changelog.Debian.gz
/usr/share/doc/libgdal20/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libgdal20
/usr/lib/libgdal.so.20

from deck.gl-native.

ibgreen avatar ibgreen commented on July 28, 2024

Nice. Looks like it is available on homebrew too: https://formulae.brew.sh/formula/gdal

from deck.gl-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.