Le samedi 02 juillet 2011 17:40:32, ahmet temiz a écrit :
> hello
> 
> Is it possible to create a DEM from contour maps (shp) using java and
> gdal*.jar ?

Yes, it should be possible.

It is a 2 step process :

* First use gdal.RasterizeLayer() to "burn" the contours into a raster. See 
http://gdal.org/java/org/gdal/gdal/gdal.html#RasterizeLayer(org.gdal.gdal.Dataset,
%20int[],%20org.gdal.ogr.Layer,%20double[],%20java.util.Vector,
%20org.gdal.gdal.ProgressCallback)

* Then use gdal.FillNodata() to fill the nodata values between the burned 
contours with interpolated data. See 
http://gdal.org/java/org/gdal/gdal/gdal.html#FillNodata(org.gdal.gdal.Band,
%20org.gdal.gdal.Band,%20double,%20int,%20java.util.Vector,
%20org.gdal.gdal.ProgressCallback)

> 
> 
> regards
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to