indrz / Indrz
Programming Languages
Projects that are alternatives of or similar to Indrz
indrz open source indoor maps, routing and data API
Project homepage [www.indrz.com] (http://www.indrz.com)
If you want detailed instructions on how to build a demo indoor routing application check out this book (shameless self plug) Python Geospatial Analysis Cookbook The book source code is on Github https://github.com/mdiener21/python-geospatial-analysis-cookbook digital wayfinding indoors, maps, orientation and indoor routing for buildings large or small, app or webpage.
Sponsors
Browserstack is awesome and they provide the great service to test if everythings works in the wild browser world, check them out at https://www.browserstack.com
Licence
indrz is under GNU General Public License v3.0. The name "indrz" is not allowed to be used by third parties and is a trademark. Other than that you can do what you want accordingly
Documentation
You can find our documentation project here [indrz Docs] (https://github.com/indrz/indrz-doc) in the folder content
Our documentation structure and build environment is built upon the [mapbox docbox] (https://github.com/mapbox/docbox) nodejs static documentation generator. The main content is found under the (content) folder.
[indrz Installation details] (https://github.com/indrz/indrz-doc/blob/master/content/installation.md)
[indrz introduction to API] (https://github.com/indrz/indrz-doc/blob/master/content/introduction.md)
[indrz Directions API] (https://github.com/indrz/indrz-doc/blob/master/content/directions.md)
[indrz Buildings API] (https://github.com/indrz/indrz-doc/blob/master/content/buildings.md)
Quick start installation for developers
Create indrz Ubuntu system user
adduser indrz
usermod --home /opt/indrz -m indrz #-m moves files too
su indrz
if you get a python error on logging into the new user, run:
dpkg-reconfigure virtualenvwrapper
checkout indrz from github
cd ~
git clone https://github.com/indrz/indrz.git indrz
cd indrz
git checkout master
Create postgres user
sudo -u postgres createuser indrz # answer no, no, no
sudo -u postgres createdb indrz -O indrz
Create virtualenv with python 3.4
cd indrz
mkvirtualenv -p /usr/bin/python3.4 indrz
install the requirements using pip. If you have problems, make sure you have the right version of pip installed you may need to use pip3
pip install -r requirements/local.txt
load the demo campus, building, space data
python manage.py migrate --noinput
python manage.py loaddata initial_ltspacetype_data
python manage.py loaddata initial_poi_categories
python manage.py loaddata buildings
Configure your settings
cp settings/local.py.example settings/local.py
nano settings/local.py
Start indrz server locally with Django built in server
workon indrz
python manage.py runserver
Test if it is running
lynx http://localhost:8000/api/v1/
Building blocks Libraries we use
- Django – Web Framework Backend
- Django Rest Framework – Django Rest Web Framework our API
- PostGIS – Spatial Database extension to Postgresql
- PGRouting - Routing extension to PostGIS and Posgresql
- Postgresql – Database
- Geoserver – Web map server to serve and create, maps and data
- Openlayers 3 – Slippy client side javascript mapping library
- Bootstrap css - css framework bootstrap
- Not YET implemented Angularjs - Javascript framework
- Not YET implemented three.js - 3d Javascript library
- will be depreciated jQuery Mobile js - mobile web pages made easy
- Not YET implemented ionic Framework - hybrid mobile apps with html 5
- Not YET implemented Gulpjs js - js building
- Not YET implemented Material Design
Supported and built by:
Contact: Michael Diener
Email: [email protected]
[www.gomogi.com] (http://www.gomogi.com)