-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The program does not function properly #26
Comments
This means that you don't have gdal installed on your system or the ogr2ogr tool is not accessible in your PATH. See https://github.com/wavded/ogr2ogr#requirements |
Yes,you are right. I didn't install gdal. |
For windows, check step three of this tutorial: https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows |
Hi @wavded @casperfibaek Thanks a lot. It helped. |
Closing due to age, reopen if issue persists. |
I get the same error. If I fork the code, and follow the instructions at https://stackoverflow.com/a/27883443/3114742, Then the output is this:
If I try using |
C:\Users\hhx\AppData\Roaming\npm\node_modules\ogr2ogr\examples>node geojson-obj.js
Error: Error: spawn ogr2ogr ENOENT
at ChildProcess. (C:\Users\hhx\AppData\Roaming\npm\node_modules\ogr2ogr\index.js:187:18)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Socket. (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:497:12)
undefined
The text was updated successfully, but these errors were encountered: