Timeline for stack_raster.cpp:35:99: error: 'YES' was not declared in this scope
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 13, 2019 at 19:05 | comment | added | Ian Turton | This sort of programming question is better asked on stack overflow or the gdal user list. | |
Aug 13, 2019 at 18:49 | comment | added | Roger Almengor |
I changed the line to yours and it compiled. I created a char **papszOptions = CSLSetNameVlue(papszOptions, "APPEND_SUBDATASET=YES), and afterwards pass it as variable in CreateCopy, so the next line is poVRTDS= poDriver->CreateCopy("media/B02_stack.vrt", poSrcDS, FALSE, papszOptions, NULL, NULL) , but now I receive the following message: Segmentation fault (cored dumped)
|
|
Aug 13, 2019 at 11:00 | vote | accept | Roger Almengor | ||
Aug 13, 2019 at 9:32 | history | answered | Ian Turton | CC BY-SA 4.0 |