yocontra / node-gdal-next

Node.js bindings for GDAL (Geospatial Data Abstraction Library) [Fork]
https://contra.io/node-gdal-next/
Apache License 2.0
75 stars 35 forks source link

How to create dxf dataset? #51

Open FreeGIS opened 3 years ago

FreeGIS commented 3 years ago

` gdal.config.set('GDAL_DATA','C:\Program Files (x86)\GDAL\gdal-data'); // error const ds1=gdal.open('.\test.dxf',"w",'DXF');

const dxf_driver = getDriverByName('DXF');
const ds2 = dxf_driver('.\test.dxf');

the error info: return driver.create.apply(driver, args) ^

Error: Error creating dataset`