Comments (6)
definitely still in scope, ideally I want an actual api package, like the "osgeo" suite of osgeo.gdal, osgeo.ogr, osgeo.osr, osgeo.gdal_array, etc. - but I'm not able to get it to work (mostly I muck up the live pointers), there's a lot of code to write and a lot can be automated but I'm not able yet (look at paleolimbot/libproj and paleolimbot/geos for where I'd like to go), but also rgdal did a lot of this already but got sidelined by more successful projects (it's very similar in Python, rasterio and fiona mask the power in the osgeo modules and a lot of downstream effort goes into things that should be fixed in the libs).
from vapour.
agreed! the vapour_ functions mostly predate my ability to code strings (!!😅) in C++ and so you see options in the new warper-based read gdal_raster_ functions but rarely elsewhere.
I am still trying to learn to wrap the entire api up and then not improving what we have here already. Very interested in any feedback and I will try to implement this request soon 🙏
from vapour.
Great, I will try to get a better understanding of vapour
and maybe I'll be able to contribute PRs further down the line. But I am just getting my feet wet with C++, so let's see how this turns out.. 😆
A quick question: are you aiming exclusively on raster data models with vapour
for future developments or is vector data still in scope?
from vapour.
I had a look at the automation side of things. GDAL's python bindings are generated using SWIG. SWIG also supports generating R bindings, though it seems that it needs some improvements (see e.g. swig/swig#854). Still could be worth exploring how far does one get with the current implementation and communicate feature requests to SWIG?
from vapour.
I agree, and maybe better R swig tools will help - but fwiw Even Rouault recommended not using SWIG, he said
I'm not sure SWIG bindings are the way to go. They tend to produce
non-idiomatic bindings for any language, which people hate using
fwiw, the best examples are rgdal2 (apparently Tim used swig to start but didn't record how and he abandoned it while sf took off), rgdal (has a lot of good open-pointer handling with base R api but presented via S4, which i like fwiw), gdalraster (uses Rcpp modules), gdalcubes (I don't know much), and then there's geos and libproj, both base R api and using vctrs but all done in cpp, and of course terra with Rcpp modules all internal, and sf all Rcpp. There's a handful of others but very light use I think
from vapour.
definitely still in scope, ideally I want an actual api package, like the "osgeo" suite of osgeo.gdal, osgeo.ogr, osgeo.osr, osgeo.gdal_array, etc. - but I'm not able to get it to work (mostly I muck up the live pointers), there's a lot of code to write and a lot can be automated but I'm not able yet (look at paleolimbot/libproj and paleolimbot/geos for where I'd like to go), but also rgdal did a lot of this already but got sidelined by more successful projects (it's very similar in Python, rasterio and fiona mask the power in the osgeo modules and a lot of downstream effort goes into things that should be fixed in the libs).
-- yes, fixing the libs being harder, technically!
Also, Michael, I noticed you are currently lucky 13! Nice work! https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/australia.md
from vapour.
Related Issues (20)
- try perf/request-limit problem with python persistent dataset
- warped vrt example to remind me of issues HOT 1
- info corner coords fails on STACIT
- extent broken for vrt ovr
- need CONVERT_TO_LINEAR -nlt for geometry read HOT 1
- warp example HOT 13
- arrow notes
- add -separate to vrt()
- vapour_vrt() needs the pixel line spacing args for geolocation
- vapour_warp_raster() is clamping ??
- gdal_raster_image - get palette when present
- support for nativeRaster (to avoid epensive integer or numeric conversion) HOT 4
- Issue with cross compiling HOT 2
- error in deriving transform from corner coords
- gdal_raster_data option to not unscale HOT 1
- converting from vapour to gdalraster HOT 2
- segfault on CRAN 2024-05-28 HOT 6
- crashy crashy (no crs on source) HOT 2
- remaining CRAN issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vapour.