Coder Social home page Coder Social logo

lab3's Introduction

Intro

This repository is in service of completing GIS 5572 Lab 3, wherein an ArcGIS Online Notebook is used to fetch temperature and elevation data from a PostGIS, use it for interpolations, assess it, save it PostGIS, where it is then taken with a Flask App stored on this repo and hosted online as a GeoJSON using Google Cloud Run.

Components

  • Temperature Notebook.ipynb: This is the Jupyter notebook that is run in ArcGIS Pro to interpolate temperature data and export those interpolations.

  • Elevation Notebook.ipynn: This is the Jupyter notebook that is run in ArcGIS Pro to interpolate elevation data and export those interpolations.

  • Dockerfile: this file is used to connect the repository to Google Cloud Run so that it can deploy the app.

  • main.py: this contains the flask app code that initiates the app, grabs the WKT info from the PostGIS info, converts it to a GeoJSON, and passes it along to the app.

    Usage

    If one wanted to use this repo themselves, they would first need to set up a PostgreSQL database and enable PostGIS in it. From there, one can take the ArcGIS Pro notebook, put in their own desired databse connections and login information for their PostGIS databases. From there, they can copy this repo and use it to create their own Google Cloud Run service (one will have to manually put in their database login info as environment variables in Google Cloud Run). In addition, host and port information in the main.py file may have to be changed based on the configuration on Google Cloud Run. From there, Cloud Run will produce a URL with needed GeoJSON info that can be used for creating layers on ArcGIS Online.

lab3's People

Contributors

conno234 avatar

Watchers

 avatar

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.