[Gdal-dev] Segmentation fault in gdal_rasterize

Jean-Claude Repetto jean-claude.repetto at worldonline.fr
Wed Oct 24 13:38:36 EDT 2007


Mateusz Loskot a écrit :
> 
> The problem is in rasterizing algorithm. Spatial extent of your
> shapefile spans from negative to positive values, but and rasterizer
> expects a) positive values to identify range of scanline b) cooridnate
> system conformance of vector and raster data used in rasterizing.
> Your tif file does not have any coordinate system assigned.

Hi Mateusz,

Thanks for your quick answer.
I have assigned the EPSG:4326 coordinate system to the TIF file, and now
gdal_rasterize is working. So, negative coordinate values are allowed !
But all the polygons are filled. Is it possible to draw only the
contours of the polygons ?

Regards,
Jean-Claude




More information about the Gdal-dev mailing list