Skip to content
/ geoq Public
forked from ngageoint/geoq

Django web application to collect geospatial features and manage feature collection among groups of users

Notifications You must be signed in to change notification settings

pamyx/geoq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoQ

Geographic Work Queueing and Tasking System

The aim of this project is to create an open source geographic tasking system that allows teams to collect geographic data across a large area, but manage the work in smaller geographic regions. Large areas can be quickly broken up into small 1km squares and assigned to a team. System transparency informs all groups about workflow to avoid duplication of effort.

The GeoQ software was developed at the National Geospatial-Intelligence Agency (NGA) as a joint effort between NGA and The MITRE Corporation. The government has "unlimited rights" and is releasing this software into the public domain to increase the impact of government investments by providing developers with the opportunity to take things in new directions. You can copy, modify, combine with other software, distribute and perform the work, even for commercial purposes, all without asking permission. NGA assumes no responsibility for the use of the software by any parties, and makes no guarantees, expressed or implied, about the software quality, reliability, or any other characteristic. We would appreciate acknowledgement if the software is used. However, the following suggested derivative or modified statement is optional: "Elements of this work contain GeoQ: The National Geospatial-Intelligence Agency and The MITRE Corporation jointly produced this work."

###Pull requests

If you'd like to contribute to this project, please make a pull request. We'll review the pull request and discuss the changes. By submitting a pull request you are dedicating your work to the public domain. You are free to fork or download this project and add unique elements with other stipulations in another repository, platform, or private development space, but this living version shall remain free of restrictions within the public domain.

Software source code previously released under an open source license and then modified by NGA staff is considered a "joint work" (see 17 USC § 101); it is partially copyrighted, partially public domain, and as a whole is protected by the copyrights of the non-government authors and must be released according to the terms of the original open source license.

###In the News NGA Director Letitia Long talks about NGA's GitHub initiative and our first offering, GeoQ, at the GEOINT Symposium. Her comments start at 40 minutes and 40 seconds in the [video clip] (http://geointv.com/archive/geoint-2013-keynote-letitia-a-long/).

Screenshots

GeoQ Main page

GeoQ creating AOIs

GeoQ Areas of Interest within a job

Drawing a flooding polygon

###This project realies heavily on open source packages and uses:### Django under [BSD] (https://github.com/django/django/blob/master/LICENSE)

Leaflet under [BSD] (https://github.com/Leaflet/Leaflet/blob/master/LICENSE)

Postgres under [PostgreSQL license] (http://www.postgresql.org/about/licence/)

PostGIS under [GPL version 2] (http://opensource.org/licenses/gpl-2.0.php)

GeoQ Configuration

The geoq/settings.py file contains installation-specific settings. The Database name/pw and server URLs will need to be configured here.

GeoQ Installation

Cloud Installation::

  1. You can optionally deploy geoq with all dependencies to a Virtual Machine or a cloud VM (such as an Amazon Web Services EC2 box) by using the chef installer at https://github.com/ngageoint/geoq-chef-installer

  2. Chef scripts are our preferred method of automating cloud builds

Mac OSX Development Build Instructions::

  1. Install PostGIS 2.0 using instructions at https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#macosx. There are several options there, but for most, the easiest option is to follow the Homebrew instructions. If you don't have Homebrew installed, you can either buid it securely yourself or follow the quick (yet not secure) one line instruction at http://brew.sh.

    One exception: Instead of using brew to install postgres, it's usually easier to install Postgres.app from postgresapp.com. After installing, add the app's bin directory (/Applications/Postgres.app/Contents/MacOS/bin) to your PATH.

  2. (Optional) Install a Geoserver (we recommend the OGC Geoserver at https://github.com/geoserver)

  3. Make sure Python, Virtualenv, and Git are installed % Note that some distros (Debian) might need additional libraries: % sudo apt-get build-dep python-psycopg2

  4. Install and setup geoq:

     % mkdir -p ~/pyenv
     % virtualenv --no-site-packages ~/pyenv/geoq
     % source ~/pyenv/geoq/bin/activate
     % git clone https://github.com/ngageoint/geoq
    
  5. Create the database and sync dependencies and data

     % cd geoq
     % pip install paver
     % paver install_dependencies
     % paver createdb
     % paver create_db_user
     % paver sync
    
  6. (Optional) Load development fixtures:

     % paver install_dev_fixtures # creates an admin/admin superuser
    
  7. Build user accounts:

     % python manage.py createsuperuser
    
  8. Install less and add its folder ("type -p less") to your bash profile:

     % npm install -g less
     % python manage.py collectstatic
    
  9. Start it up!

     % paver start_django
    

About

Django web application to collect geospatial features and manage feature collection among groups of users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published