Skip to content

This is a Django web interface for converter collected using GeoODK Collect (form formats use the data type form XLSFoms)

Notifications You must be signed in to change notification settings

bakasmarius/xls-geoconverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XLS GeoConverter

This is a Django web interface for converting data collected with GeoODK Collect/ODK Collect to a geographical format. In the XLSForm there are three main geographical formats

To learn about XLSForms visit http://xlsform.org/

Spatial Data Type:

  • geopoint (point)
  • geoshape (polygon)
  • geotrace (polyline)

This tool is for assisting with the “.csv” export formats of ODK Aggregate, Formhub and Ona.io. Once the data has been collected you can use this tool to convert your data into a ESRI shapefile.

Try it out:

http://converter.geoodk.com/

Question

Geoodk Community

Geoodk Developers

For question

Install

If you are using Vagrant for testing, pull the repo and run

vagrant up

In the Vagrant file you will notice that it runs the install.sh

config.vm.provision :shell, path: "install.sh"

Run Django setup

python manage.py syncdb --noinput

python manage.py migrate

python manage.py runserver

If you are installing directly on your a server check out the install.sh. The install.sh script includes:

sudo apt-get update
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install -y python-dev

sudo apt-get install -y libgdal1-dev
sudo apt-get install -y libgdal-dev
sudo apt-get install -y g++
sudo apt-get install -y python-gdal
sudo apt-get install -y python-pip
sudo apt-get update

sudo pip install shapely
sudo pip install six
sudo pip install cligj
sudo pip install argparse
sudo pip install ordereddict
sudo pip install fiona
sudo pip install Django==1.8

Windows users might find the file requirements_win64.pip helpful. Follow the commented instructions inside it and use this to install packages:

pip install -r requirements_win64.pip

Notes

The Django app use shapely and Fiona, to learn more about these see:

Shapely:
https://pypi.python.org/pypi/Shapely

Fiona:
https://github.com/Toblerity/Fiona

View them used together http://www.macwright.org/2012/10/31/gis-with-python-shapely-fiona.html

About

This is a Django web interface for converter collected using GeoODK Collect (form formats use the data type form XLSFoms)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.3%
  • HTML 17.4%
  • JavaScript 10.8%
  • CSS 4.5%
  • Shell 3.0%