https://github.com/zachcp/soiltypefinder
App to use Lat/Long to find your USDA/FAO Soiltype Hosted on Google App Engine
https://github.com/zachcp/soiltypefinder
Last synced: 8 months ago
JSON representation
App to use Lat/Long to find your USDA/FAO Soiltype Hosted on Google App Engine
- Host: GitHub
- URL: https://github.com/zachcp/soiltypefinder
- Owner: zachcp
- Created: 2014-11-17T04:46:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-09T15:45:17.000Z (about 10 years ago)
- Last Synced: 2025-02-24T04:13:01.405Z (over 1 year ago)
- Language: Python
- Size: 15.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Soiltypefinder
An early stab at trying to make a RESTful api to determing Soil types from a Lat/long data using GAE. As it turns out, matching up GEOJSOn data for point-in-polygon calculations is not so easy. It will need a bounding box approach and possibly a migration to a more suitable database (i.e. PostGres). The hope was to make somethign quick and easy and for now I am going to abandon the webinterface. However, the data is still good and can be used to visualize the US and FAO datasets.
## Python Flask Skeleton for Google App Engine
A skeleton for building Python applications on Google App Engine with the
[Flask micro framework](http://flask.pocoo.org).
See our other [Google Cloud Platform github
repos](https://github.com/GoogleCloudPlatform) for sample applications and
scaffolding for other python frameworks and use cases.
## Run Locally
1. Install the [App Engine Python SDK](https://developers.google.com/appengine/downloads).
See the README file for directions. You'll need python 2.7 and [pip 1.4 or later](http://www.pip-installer.org/en/latest/installing.html) installed too.
2. Clone this repo with
```
git clone https://github.com/GoogleCloudPlatform/appengine-python-flask-skeleton.git
```
3. Install dependencies in the project's lib directory.
Note: App Engine can only import libraries from inside your project directory.
```
cd appengine-python-flask-skeleton
pip install -r requirements.txt -t lib
```
4. Run this project locally from the command line:
```
dev_appserver.py .
```
Visit the application [http://localhost:8080](http://localhost:8080)
See [the development server documentation](https://developers.google.com/appengine/docs/python/tools/devserver)
for options when running dev_appserver.
## Deploy
To deploy the application:
1. Use the [Admin Console](https://appengine.google.com) to create a
project/app id. (App id and project id are identical)
1. [Deploy the
application](https://developers.google.com/appengine/docs/python/tools/uploadinganapp) with
```
appcfg.py -A --oauth2 update .
```
1. Congratulations! Your application is now live at your-app-id.appspot.com
## Next Steps
This skeleton includes `TODO` markers to help you find basic areas you will want
to customize.
### Relational Databases and Datastore
To add persistence to your models, use
[NDB](https://developers.google.com/appengine/docs/python/ndb/) for
scale. Consider
[CloudSQL](https://developers.google.com/appengine/docs/python/cloud-sql)
if you need a relational database.
### Installing Libraries
See the [Third party
libraries](https://developers.google.com/appengine/docs/python/tools/libraries27)
page for libraries that are already included in the SDK. To include SDK
libraries, add them in your app.yaml file. Other than libraries included in
the SDK, only pure python libraries may be added to an App Engine project.
### Feedback
Star this repo if you found it useful. Use the github issue tracker to give
feedback on this repo.
## Contributing changes
See [CONTRIB.md](CONTRIB.md)
## Licensing
See [LICENSE](LICENSE)
## Author
Logan Henriquez and Johan Euphrosine