tannerjt / AGStoShapefile

Convert ArcGIS Server Dynamic Map Service to GeoJSON and Shapefile
MIT License
213 stars 47 forks source link

what/where should I take a look for this error? service.txt has valid url #3

Closed jkyoungchoi closed 9 years ago

jkyoungchoi commented 9 years ago

http://map.trueautomation.com/ArcGIS/rest/services/Brazos/MapServer/10|subdiv

C:>node AGStoSHP.js creating BZSchool json creating BZSchool geojson [Error: Error: spawn ogr2ogr ENOENT] [Error: Error: spawn ogr2ogr ENOENT] creating BZSchool shapefile events.js:141 throw er; // Unhandled 'error' event ^

Error: Error: spawn ogr2ogr ENOENT at ChildProcess. (C:\node_modules\ogr2ogr\index.js:187:18) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:818:16) at Socket. (internal/child_process.js:319:11) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at Pipe._onclose (net.js:469:12)

tannerjt commented 9 years ago

What operating system are you running this on?

jkyoungchoi commented 9 years ago

it's win7 pro

tannerjt commented 9 years ago

I wonder if this has to do with needing GDAL installed on your machine. Can you try installing and running again? http://www.gisinternals.com/release.php It seems to work fine on my machine with your service.

jkyoungchoi commented 9 years ago

Do I need other than GDAL core?

tannerjt commented 9 years ago

That should be all you need.

jkyoungchoi commented 9 years ago

I see, I'll try uninstall and reinstall and see what's gonna happen. Feel like I need to reboot but just can't right now. Thanks for help,

jkyoungchoi commented 9 years ago

It worked out! Thanks

tannerjt commented 9 years ago

Awesome! Glad it worked, hope the tool is useful for you.