我想将空间数据从 sql 导出到 ESRI shapefile,但我有一个问题:
ogr2ogr -f "ESRI Shapefile" " C:\Users\sqlexport.shp "
"MSSQL:server=PORT_7FMW8H2;database=testdbspatial;trusted_connection=yes;
"-sql "select * from DRShape" -overwrite
错误 1:无法为 shapefile 数据存储创建目录 C:\Users\sqlexport.shp。错误 1:ESRI Shapefile 驱动程序无法创建 C:\Users\sqlexport.shp