我有一些来自 USGS 的 DEM 数据,我正在尝试将其作为等高线图写入 KML 文件。我正在使用 GDAL 3.4.1。 ,我使用 Anaconda 安装的
$ gdal_contour Downloads/USGS_13_n47w090_20240625.tif contours.kml -i 10
Warning 1: Several drivers matching kml extension. Using LIBKML
0...10...20...30...40...50...60...70...80...90...100 - done.
^C
当我运行此程序时,程序挂起并且不生成任何文件。
当我尝试时:
$ gdal_contour /Downloads/USGS_13_n47w090_20240625.tif /contour.shp -i 10.0
立即生成文件。
我想知道更改 KML 驱动程序是否可以解决此问题(驱动程序列于 https://gdal.org/drivers/vector/index.html )。
如何将驱动程序从 LIBKML 更改为 KML?