[Gdal-dev] vector to raster conversion

Brian Marchand bmarchand at ara.com
Wed Aug 27 12:56:14 EDT 2003


I'm interested in the contour case. In thinking about the problem I
realized it wasn't trivial which is why I was hoping there was some
software or an algorithm out there already.  I imagine that picking a
good raster cell size would be difficult enough then it seems like you
would have to identify the field definition that gives you get the z
value. You could prompt for that so that wouldn't be so bad. Then
filling in between the contour lines, yikes! I'll check into GRASS.
Since I'm not GIS educated, I'm wondering if this is covered in any text
books that anyone is aware of. 

Thanks for your help


-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
Sent: Wednesday, August 27, 2003 12:32 PM
To: gdal-dev at remotesensing.org
Subject: Re: [Gdal-dev] vector to raster conversion

Brian Marchand wrote:
> Hello,
> I know there are many GIS savvy people on this list and I was
> if anyone knew of any vector to raster conversion code that is
> around. My interest is in converting elevation data stored in shape 
> files to any elevation raster format supported by GDAL.


I assume what you have is contour and possibly breakline information?
is it point elevations?  Building a decent raster DEM from contours and
breakline information is not a trivial process.  I worked on some
for it at PCI but I am not aware of anything directly available built on
You could use commercial software, like PCI.  I also think there may be
decent contour to raster program in GRASS but I am not sure.

If you just have point data, any point interpolator would likely do,
such as
the one in OpenEV mentioned by Tyler.

MapServer is good for a variety of rasterization issues, but it isn't an

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

Gdal-dev mailing list
Gdal-dev at remotesensing.org

More information about the Gdal-dev mailing list