[gdal-dev] Trouble using gdal_rasterize

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Oct 28 11:32:20 EDT 2011


Guillaume,

Please do provide the sample shapefile.

On Fri, Oct 28, 2011 at 8:59 PM, guillaume huby <
guillaume.huby.lists at gmail.com> wrote:

> Hello,
>
> I am using Gdal 1.8.1 (gdalinfo --version -> GDAL 1.8.1, released
> 2011/07/09).
>
> I used gdal_rasterize to burn some tif file with values from a shapefile:
>
>> gdal_rasterize -a ID -l vector_test vector_test.shp test_out.tif
>>
>
> My tif file contains a unique layer of type UInt32.
>
> The shape files contains an ID column with four features with ID 28021201,
> 28021202, 28021203 and 28021204.
>
> But test_out.tif is not burned correctly it has :
> - 28021200 where 28021201 is expected;
> - 28021204 where 28021203 is expected;
> - others values are OK.
>
> I can provide sample files if needed.
>
> Is there something I missuse in my command line or is it a normal issue ?
>
> Thanks for your replies.
>
> Best regards,
> Guillaume.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111028/a882924a/attachment.html


More information about the gdal-dev mailing list