GithubHelp home page GithubHelp logo

Create CLI about cw-geodata HOT 3 CLOSED

nrweir avatar nrweir commented on August 29, 2024
Create CLI

from cw-geodata.

Comments (3)

nrweir avatar nrweir commented on August 29, 2024

Functionality to be included:

  • Making masks (in batch)
  • Mask -> vector labels (in batch)
  • Geo-registration (or the inverse) of polygon dfs/files (in batch)
  • Geo-registration (or the inverse) of road linestring dfs/files (in batch)
  • Creating graphs from SpaceNet data (in batch)

Notes

CLI usage

I envision the following process for passing variables into these functions.
Option 1 (recommended): Variables can be passed in columns of a csv. This will enable users to define different values for each iteration through the process.
Option 2: variable names can be passed as flagged arguments to the CLI.
...or some mix of the above.

Multiprocessing

I think it'd be great to enable parallelization where possible in this process. Will need to see how feasible that is going to be.

Implementation notes

I think it will probably make sense as an argument processing step to take in all of the arguments that the user provides and effectively turn each argument needed for the call to the underlying functionality into iterators (or elements of a single iterator) which can then be passed to the underlying function(s) through multiprocessing.Pool.map() (if workers > 1).

from cw-geodata.

nrweir avatar nrweir commented on August 29, 2024

Georegistration of linestrings/the reverse can be completed using the same functionality in polygon.

from cw-geodata.

nrweir avatar nrweir commented on August 29, 2024

Resolved with #42.

from cw-geodata.

Related Issues (20)

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.