Git Product home page Git Product logo

shapefiley's People

Contributors

abhiyerra avatar

Watchers

 avatar James Cloos avatar

shapefiley's Issues

Need to include the 3 files of Shapefiles

Need to support all three files that are uploaded. Need the dbf, shx, shp files to do the conversion.

  • Check all three files are being uploaded.
  • Make sure that we can run a script against that.

Organization

  • Make sure there is a README.
  • Make sure LICENSE is valid.
  • Add tests to test the functionality of uploading a file.
  • Make sure that we return valid JSON with the shapefiles.

Upload Page should be one

  • Shouldn't link to a different page.
  • Just render the page once it is done. Just poll for the appropriate changes from the server.

API Backend

  • /upload
    • Create a file on S3.
    • Insert into table
  • /shapefile/:id
    • return {status: "In Work"} if not finished
    • return {status: "Finished, geom: []} if finished

SQL:

create table shapefiles (
   id SERIAL PRIMARY KEY,
   status varchar(20),
   created_at TIMESTAMP NOT NULL DEFAULT now()
);

Need to create Users

Need to support User uploads of data. Right now there is nothing which links data to anyone else. Need to do so in a uniform manner.

Deployment

  • Need to create a script for the worker that is generated.
  • Generate the worker.sh file from the worker postgresql script.
  • Make sure that it is isolated and can run correctly.

Worker

  • Start the worker on upload.
  • Should run the jobs on restart from the database.
  • Run the shapefile import script

Shapefile Version 0

Shapefiley should be a simple app which takes a shapefile gets the coordinates and renders it on a Google Map.

It will utilize:

  • Golang
  • PostgreSQL
  • Docker

Frontend

  • Have an upload page.
    • Upload file to S3
    • Notify server about upload.
    • Redirect to page to show the page.
  • Poll the server for updates
    • Show the page Google Map

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.