You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to convert .osm file into a kml file and then into a shape file using ogr2ogr on the node server. This is the code snippet, but it ends up with the error "Pointer 'hDS' is NULL in 'GDALGetFileList'.
Can you share all logs? If there are no other logs, you can create a function to write them to the file and pass them as logHandler and errorHandler as parameters when calling initGdalJs. Thus all logs will be written to the file.
one issue I ran into is using the -sql option and extra whitespace on the following command. The error is basically a catchall "failed to create file" seems like
Hi, I am trying to convert .osm file into a kml file and then into a shape file using ogr2ogr on the node server. This is the code snippet, but it ends up with the error "Pointer 'hDS' is NULL in 'GDALGetFileList'.
const Gdal = await initGdalJs();
const dataset = (await Gdal.open(filePath)). datasets[0];
const options = ['-f', 'KML','-t_srs', 'EPSG:3819'];
const result = await Gdal.ogr2ogr(dataset, options);
The text was updated successfully, but these errors were encountered: