<div dir="ltr"><div class="gmail_extra"><div class="" style="padding-bottom:20px;font-size:medium"><div class=""><div id=":2qy" class="" style="font-size:12.8px"><div id=":2qz" class=""><div dir="ltr">It did resolve this error, but now I've got this :<div><br></div><div><div>ERROR 10: Pointer 'hDS' is NULL in 'GDALGetProjectionRef'.</div><div><br></div><div>Warning 1: The input vector layer has a SRS, but the output raster dataset SRS is unknown.</div><div>Ensure output raster dataset has the same SRS, otherwise results might be incorrect.</div><div>ERROR 10: Pointer 'hDataset' is NULL in 'GDALGetRasterXSize'.</div><div><br></div><div>ERROR 10: Pointer 'hDataset' is NULL in 'GDALGetRasterYSize'.</div><div><br></div><div>ERROR 10: Pointer 'hDS' is NULL in 'GDALGetGeoTransform'.</div><div><br></div><div>Segmentation fault</div></div><div><br></div><div>I thought that the geotiff had a SRS :</div><div>$ gdalinfo my.tif</div><div><div>Driver: GTiff/GeoTIFF</div><div>Files: a.tif</div><div>Size is 256, 256</div><div>Coordinate System is:</div><div>GEOGCS["WGS 84",</div><div>    DATUM["WGS_1984",</div><div>        SPHEROID["WGS 84",6378137,298.257223563,</div><div>            AUTHORITY["EPSG","7030"]],</div><div>        AUTHORITY["EPSG","6326"]],</div><div>    PRIMEM["Greenwich",0],</div><div>    UNIT["degree",0.0174532925199433],</div><div>    AUTHORITY["EPSG","4326"]]</div><div>Origin = (-76.460380554200000,45.450708220599999)</div><div>Pixel Size = (0.000000167637891,-0.000000117601953)</div><div>Metadata:</div><div>  AREA_OR_POINT=Area</div><div>Image Structure Metadata:</div><div>  COMPRESSION=DEFLATE</div><div>  INTERLEAVE=PIXEL</div><div>Corner Coordinates:</div><div>Upper Left  ( -76.4603806,  45.4507082) ( 76d27'37.37"W, 45d27' 2.55"N)</div><div>Lower Left  ( -76.4603806,  45.4506781) ( 76d27'37.37"W, 45d27' 2.44"N)</div><div>Upper Right ( -76.4603376,  45.4507082) ( 76d27'37.22"W, 45d27' 2.55"N)</div><div>Lower Right ( -76.4603376,  45.4506781) ( 76d27'37.22"W, 45d27' 2.44"N)</div><div>Center      ( -76.4603591,  45.4506932) ( 76d27'37.29"W, 45d27' 2.50"N)</div><div>Band 1 Block=256x8 Type=Byte, ColorInterp=Red</div><div>  Mask Flags: PER_DATASET ALPHA </div><div>Band 2 Block=256x8 Type=Byte, ColorInterp=Green</div><div>  Mask Flags: PER_DATASET ALPHA </div><div>Band 3 Block=256x8 Type=Byte, ColorInterp=Blue</div><div>  Mask Flags: PER_DATASET ALPHA </div><div>Band 4 Block=256x8 Type=Byte, ColorInterp=Alpha</div></div><div><br></div><div><br></div><div>$ cat my.geojson</div><div><div>{   "type": "FeatureCollection",</div><div>    "features": [{</div><div>        "type": "Feature",</div><div>            "properties": {</div><div>                "prop0": "value0"</div><div>            },</div><div>        "id": 0,</div><div>        "geometry": {</div><div>            "type": "Polygon",</div><div>            "coordinates": [</div><div>                  [</div><div>                    [</div><div>                        -76.4603750,</div><div>                        45.4506926</div><div>                    ],</div><div>                    [</div><div>                        -76.4603632,</div><div>                        45.4506998</div><div>                    ],</div><div>                    [</div><div>                        -76.4603522,</div><div>                        45.4506914</div><div>                    ],</div><div>                    [</div><div>                        -76.4603639,</div><div>                        45.4506845</div><div>                    ],</div><div>                    [</div><div>                        -76.4603750,</div><div>                        45.4506926</div><div>                    ]</div><div>                  ]</div><div>            ]</div><div>        }</div><div>    }]</div></div><div><br></div><div>Cheers</div></div></div></div></div></div></div></div>