Comments (1)
The _cpp functions are now wrapped by R, I we can't check for files or connections because DSNs are more general than that - GDAL seems to return sensible errors now.
I.e.
vapour:::vapour_read_geometry_cpp("nothing")
Error in vapour:::vapour_read_geometry_cpp("nothing") : Open failed.
>
> vapour:::vapour_read_geometry_cpp("")
Error in vapour:::vapour_read_geometry_cpp("") : Open failed.
> vapour:::vapour_read_geometry_cpp("https://www.google.com/")
ERROR 1: JSON parsing error: unexpected character (at offset 0)
...
Error in vapour:::vapour_read_geometry_cpp("https://www.google.com/") :
no features to be read
> vapour:::vapour_read_geometry_cpp("NETCDF:file.nc:sst")
Error in vapour:::vapour_read_geometry_cpp("NETCDF:file.nc:sst") :
Open failed.
vapour:::vapour_read_geometry_cpp(file())
Error in vapour:::vapour_read_geometry_cpp(file()) : Open failed.
> vapour:::vapour_read_geometry_cpp(raw(1))
Error in vapour:::vapour_read_geometry_cpp(raw(1)) : Open failed.
I think that's ok.
from vapour.
Related Issues (20)
- use GDALVectorInfo() for ogrinfo equiv
- vapour_vrt for building up VRT
- bands and dimensions
- 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
- Possibility to specify opening options HOT 6
- error in deriving transform from corner coords
- gdal_raster_data option to not unscale HOT 1
- converting from vapour to gdalraster 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.