Code Monkey home page Code Monkey logo

Comments (4)

calvinmetcalf avatar calvinmetcalf commented on August 27, 2024

your forgetting the j in geojson in the second example

  • are you able to make it work at all?
  • if so are you see messages like this?
    rslts
  • are you using the master version or @scw's fork still because his has bug preventing it from working unless you manually move the toolbox to the install folder

from esri2open.

maphew avatar maphew commented on August 27, 2024

I'm not using scw's branch; am running direct from the local repository created by GitHub's Clone in Desktop tool on https://github.com/project-open-data/esri2open.

I don't get the "found xx features" from the toolbox seen your screenshot, (the unseen parameter cropped from the execute line is 'Default').

esr2open_tbx-msg

Though if I add print GetMessages() to the end single.py there is get a record count

D:\GitHub\esri2open>single.py t:\ENV.301\Bear_Incidents.gdb\Summer_2013 t:\env.301\dev-2013\geojsontest.geoson

I don't understand the format
Executing: GetCount t:\ENV.301\Bear_Incidents.gdb\Summer_2013
Start Time: Thu Jun 27 10:42:01 2013
Row Count = 8
Succeeded at Thu Jun 27 10:42:02 2013 (Elapsed Time: 1.00 seconds)

...ahh, and fixing the extension of the output file allows a truly successful run from command prompt:

D:\GitHub\esri2open>single.py t:\ENV.301\Bear_Incidents.gdb\Summer_2013 t:\env.301\dev-2013\geojson\test.geojson
Found 8 features
Executing: GetCount t:\ENV.301\Bear_Incidents.gdb\Summer_2013
Start Time: Thu Jun 27 11:03:15 2013
Row Count = 8
Succeeded at Thu Jun 27 11:03:16 2013 (Elapsed Time: 1.00 seconds)

Curiously, it still doesn't create output from the toolbox though:
esr2open_tbx-msg2

from esri2open.

calvinmetcalf avatar calvinmetcalf commented on August 27, 2024

In 10.0 it doesn't allow you to even run it with an incorrect extension I wonder if this has to do with changing over to python tool boxes.

from esri2open.

maphew avatar maphew commented on August 27, 2024

I think the fault was that Arcgis forgot where to find python, but doesn't know it doesn't know. :)
(Meaning, this wasn't an esri2open issue.) An arcgis install-repair cycle fixed it. (see #9 )

from esri2open.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.