Comments (12)
You should have received an email with the link.
from gdalcubes_cpp.
Thanks, David and sorry for the late reply. What exactly is going wrong? OAMS_TRADITIONAL_GIS_ORDER
ahould already be used by default (see https://github.com/appelmar/gdalcubes/blob/e89d9a2838c648a0d56ec8ff89a733732e7cfbc0/src/config.cpp#L110).
from gdalcubes_cpp.
Ah OK this is interesting. Maybe a better approach would be to store WKT strings in image collections.
from gdalcubes_cpp.
Sorry, but the option
CPLSetConfigOption("OGR_CT_FORCE_TRADITIONAL_GIS_ORDER", "YES");
does not work.
In images table, latitudes are stored in fields left and right and longitudes are stored in fields up and down.
Best David
from gdalcubes_cpp.
Can you share an example image or the output of gdalinfo
of an image? I get the following with default settings (using different data, of course):
from gdalcubes_cpp.
dear Marius
I am making a shared unit in google drive with images and database
Can you send me your email to share with you the folder?
Best
david
from gdalcubes_cpp.
Great, thanks! Please share with [email protected]
from gdalcubes_cpp.
Many thanks, could you also share the code / command you used to generate the image collection?
Using R, I get:
library(gdalcubes)
f = list.files("201909", pattern = ".tif", full.names = TRUE)
dt = as.POSIXct(substr(basename(f), 1, 15),format = "%Y%m%dT%H%M%S", tz = "GMT")
create_image_collection(f, date_time = dt, band_names = "ndvi",out_file = "test.db")
This seems correct, so my guess is that simply the config options are not set properly from C++ (I need to check).
from gdalcubes_cpp.
First of all, thank you very much for your help and my apologies for my bad English.
I am developing a plugin in QGIS integrating gdalcubes with the definition of a local nested grid to apply classification algorithms to large areas with time series of remote sensing scenes from different space missions, as I explain at the end of the article https://www.mdpi.com/2072-4292/13/8/1546
This plugin run in windows but i could not compile gdalcubes in windows enviroment using qtcreator (with microsoft visual studio 2015) and libraries version from osgeo4w (gdal, proj, ...). In a first version i use gdalcubes from R in windows, but i get some errors and decided to use gdalcubes from docker, developing programs that use the gdalcubes library, read files generated from the qgis plugin where i write the images to use, the processes to perform, and the paths for the results. As a previous version I am developing the programs in a virtual machine ubuntu 20.04. I am going to upload to the shared folder the folder structure from the root path of ubuntu, the user name is ubuntu too. The program for make the images database is:
/home/ubuntu/dev/gdalcubes/projects/pafyc_gdalcubes_create_images_collections
using as argument the file:
/home/ubuntu/Desktop/GDALCubesProjects/AmalTunez/gdalcubes/s2/temp_docker/gdalCubes_createImageCollections_linux.txt
I can share with you everything you tell me. I could even give you access to the virtual machine with andydesk.
In case you think it's better to continue this topic by email, my email is [email protected]. My researchs groups:
https://pafyc.uclm.es/
https://tidop.usal.es/
My orcid: https://orcid.org/my-orcid?orcid=0000-0001-9874-5243
I would really like that we could collaborate in this work
Best
David
from gdalcubes_cpp.
Thanks for sharing, this sounds really interesting and I have to a admit that the documentation of the C++ part is really still missing important parts (e.g. compilation on Windows). That being said, I had a look at the pafyc_gdalcubes_create_images_collections/main.cpp file, maybe simply adding the following line before you use any gdalcubes functions can solve the axis order issue?
gdalcubes::config::instance()->gdalcubes_init();
from gdalcubes_cpp.
You're right. This solves my problem. My apologies. I will continue with the development and if I have any problems I will ask for your help. Many many thanks
from gdalcubes_cpp.
Great to hear, let me know if anything does not work!
from gdalcubes_cpp.
Related Issues (20)
- Reduce external dependencies HOT 3
- Windows compilation HOT 3
- var and sd reducers cause segmentation fault HOT 1
- Image collection for MOD13Q1 HOT 3
- Remove Aggregation and Resampling from Data Cube View
- Add date / time functions to `apply_pixel` and `filter_pixel`
- Support for GDAL subdatasets in collection creation HOT 1
- Sentinel 2 unzipped SAFE not read HOT 2
- GDAL3 and PROJ6 issues HOT 3
- build fails on dev
- Plot RGB don't work
- Maintain date format in cube-view attributes when using monthly aggregation HOT 4
- Possibility to pipe raster cubes? HOT 5
- stac_image_collection crashing RStudio HOT 1
- broken link in README.md for documentation HOT 1
- create_image_collection is not ending
- Credits link in the README leads to 404 HOT 1
- parallelism in create_image_collection + cube operations HOT 5
- Feature requests HOT 7
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 gdalcubes_cpp.