Le 30/05/2023 à 20:01, Nicolas Bellaiche a écrit :
>
>
> That's why I get:
>
> echo 3356123.5400 1303218.3090 5247430.6050 | PROJ_DEBUG=3
./bin/cs2cs IGNF:RGR92 +to IGNF:REUN47
>
> pj_open_lib(proj.ini): call
fopen(/Users/nbellaiche/dev/sd-externs/macosx-clang/proj-9.1.1/nad/proj.ini)
- succ
Thank you..
I solved the problem. Cutting polygon has to be converted to pixel
coordinates. I have missed that point. now it works well ..
Regards
30 May 2023 Sal 16:20 tarihinde Rahkonen Jukka <
jukka.rahko...@maanmittauslaitos.fi> şunu yazdı:
> Hi,
>
>
>
> I can’t really read the code, but b
On Tue, 30 May 2023, Howard Butler wrote:
I totally agree that we would need to do some kind of cost/benefit
to see if the complexity is worth the trouble. Our experience with
PDAL is that drivers with hairy external dependencies that are
either closed source or not conveniently distributed are
PDAL had this penalty and then we did some profiling and saw that most of the cost was the dlopen, not the
finding of the plugin via the filesystem. PDAL doesn't have a GDALOpen-like single entry method where drivers
are all expected to be loaded and "tried" sequentially, however. We have a m
> On May 29, 2023, at 5:16 PM, Even Rouault wrote:
> 300 ms to load the 127 plugins on my system, ie each GDAL command line
> invokation will at least take 300 ms, which might be a significant penalty in
> some workflows)
PDAL had this penalty and then we did some profiling and saw that mos
Hi,
I can’t really read the code, but based on what happens, maybe your cutline is
outside the image. So you
* create an output band
* fill it with zeroes
* and then you write pixels within the cutline into the output
Because the output stays all zeroes, and there are no errors, then
Thank you ,
I already worked on that code. But clipping was not succesful. output.tif
is blank on qgis.
On Tue, May 30, 2023 at 3:24 PM Norman Vine wrote:
> perhaps this will help
>
> https://stackoverflow.com/questions/70664043/clip-raster-with-polygon-with-gdal-c
>
> > On May 30, 2023, at 8:1
perhaps this will help
https://stackoverflow.com/questions/70664043/clip-raster-with-polygon-with-gdal-c
> On May 30, 2023, at 8:12 AM, Ahmet Temiz wrote:
>
> Hi,
> I am trying to clip a tif file with a polygon. But resulting output.tif file
> shows nothing.
>
> Where am I doing wrong ?
>
> "
Hi,
I am trying to clip a tif file with a polygon. But resulting output.tif
file shows nothing.
Where am I doing wrong ?
" #include
#include
#include
#include
#include
#include // for string class
using namespace std;
int main() {
const char *inputPath = "input.tif";
const char *outpu