Closed bertday closed 1 year ago
If I run this minimal example:
import ogr2ogr from 'ogr2ogr'; (async () => { await ogr2ogr( '/Users/me/parcels.geojson', { options: [ '-spat', '-87.94011408252348 41.64454312178303 -87.5241371038952 42.023038586147585', ], } ); })();
and log the cmd of the output object I get:
cmd
ogr2ogr-f GeoJSON -skipfailures /vsistdout/ /Users/me/parcels.geojson
it looks like the command and args are getting concatenated without a space (ogr2ogr-f). It looks like it happens on this line.
ogr2ogr-f
If I run this minimal example:
and log the
cmd
of the output object I get:it looks like the command and args are getting concatenated without a space (
ogr2ogr-f
). It looks like it happens on this line.