Re: [gdal-dev] Understanding gdal_rasterize

2013-10-23 Thread Paul Meems
Thanks Hermann for your explaination. I probably made a typo because now the pixels have different colors/values as I would expect. Thanks, Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow GIS. www.mapwindow.org Owner of MapWindow.nl - Support for Du

Re: [gdal-dev] Understanding gdal_rasterize

2013-10-21 Thread Hermann Peifer
On 2013-10-21 14:46, Paul Meems wrote: I'm trying to understand how gdal_rasterize works. As a test I'm trying to convert a shapefile with all counties of the USA to a GeoTiff. I've added a field to the shapefile called myID which is equal to the shape number. The goal is to create a tiff with ea

[gdal-dev] Understanding gdal_rasterize

2013-10-21 Thread Paul Meems
I'm trying to understand how gdal_rasterize works. As a test I'm trying to convert a shapefile with all counties of the USA to a GeoTiff. I've added a field to the shapefile called myID which is equal to the shape number. The goal is to create a tiff with each county its own value. This is my comm