[gdal-dev] DEM with java and gdal*.jar
Even Rouault
even.rouault at mines-paris.org
Sat Jul 2 11:47:51 EDT 2011
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
More information about the gdal-dev
mailing list