Month: May 2014

Integrating Big Data search tool Elasticsearch into the Arches geospatial web application

Integrating Big Data search tool Elasticsearch into the Arches geospatial web application

When we started developing the Arches Geospatial Cultural Asset Management code base (archesproject.org) we decided upon a graph based data structure. Graphs are particularly nice for the semantic information built into the structure (ie: node x is related to node y by relationship z). But in choosing this structure, you sacrifice a little speed during data access. For example, to relate 2 nodes together effectively requires 2 database joins...
Automating Django Testing for GIS Web Applications using LiveReload

Automating Django Testing for GIS Web Applications using LiveReload

When building any web application, geospatial or otherwise, testing is important. Writing and running unit tests is the first┬áline of defense against regression. The Django framework makes writing and running tests very simple, which is part of what makes it such a powerful framework. One problem with testing, however, is that to reap it’s benefits fully you must be diligent about regularly running your tests. If your project has...
Getting Django to use Postgresql schemas in the Arches geospatial project

Getting Django to use Postgresql schemas in the Arches geospatial project

When we began work on the Arches project (http://archesproject.org), we knew we were going to use Postgresql (http://www.postgresql.org/) because it’s awesome, and because we were developing the software in Python, we knew Django (https://www.djangoproject.com/) would give us a nice structured framework to work in. The only issue with django (a big one I think), is that it doesn’t natively allow use of Postgresql schemas which we really wanted to...