On 1/14/2010 10:16 AM, Torben Dannhauer wrote:
> Hi,
> is it possible to specifiy my polygon outline position and elevation, and 
> GDAL rasterize code will interpolate correctly that this area is really 
> flattend? 

  I'm not really sure what you're asking.

> or does it lift up/sink sown all coordinates inside the polygon to the 
> specified value?

  This is what it does. You specify the BURN_VALUE_FROM_Z option and it no 
longer uses a
constant value for a fill, rather it uses the Z value from the 
polyline/polygon. In the
case of the polygon, it uses the value from the first vertex since interpolating
non-constant values across a polygon interior is computationally messy. In the 
case of a
polyline, it can use varying Z values from each vertex, interpolated linearly.

  It doesn't do any blending into the surrounding areas. That's the higher-level
functionality that my library adds.

> How can I access the new API if now available via rasterize?

  Look at the GDAL rasterize API in the latest GDAL subversion checkout. I 
think GDAL 1.7
will have the new feature once it's released publicly.

> Thank you,
> Torben

-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to