SpatiaLite and QGIS: Loading, Joining, Mapping Shapefiles and Tables
I stuck with with the Long Term Support Version of QGIS (1.02) last semester while I was teaching, but now I finally have had a chance to experiment with the latest version (1.4) which has a lot of...
View ArticleCalculated Fields in SpatiaLite / SQLite
After downloading data, it’s pretty common that you’ll want to create calculated fields, such as percent totals or change, to use for analysis and mapping. The next step in my QGIS / SpatiaLite...
View ArticleNYC Geodatabase in Spatialite
I spent much of the fall semester and winter interim compiling and creating the NYC geodatabase (nyc_gdb), a desktop geodatabase resource for doing basic mapping and analysis at a neighborhood level –...
View ArticleAltering Tables in SQLite / Spatialite
In building the Spatialite geodatabase (see previous post), one of the fundamental things I learned was how to manage table creation and alteration in SQLite, which was quite different from my previous...
View ArticleCreating Reports with SQLite, Python, and prettytable
In addition to providing the NYC Geodatabase as a resource, I also wanted to use it to generate reports and build applications. None of the open source SQLite GUIs that I’m familiar with have built in...
View ArticleNYC Geodatabase Updates: Spatialite Upgrade & ZIPs to ZCTAs
I released the latest version of the NYC geodatabase (nyc_gdb) a few weeks ago. In addition to simply updating the data (for subway stations and ridership, city point features, and ZIP Code Business...
View ArticleCreating Reports with SQLite, Python, Jinja2, and LaTeX
For a long time, I’ve been wanting to figure out a way to generate reports from a SQLite / Spatialite database. For example, I’d like to reach into a database and generate profiles for different places...
View ArticleInserting Data into Templates with Python and Jinja
In this post, I’m picking up where I left off and will cover the different methods I experimented with to get data out of a SQLite database and into a Jinja LaTeX template using Python. I’m using the...
View ArticleLooping Through a Database to Create Reports
I’ve got a lot of ground to cover, picking up where I left off several months ago. In earlier posts I presented the concept for creating reports from sqlite databases using Python, Jinja, and LaTeX,...
View ArticleWriting Functions and Building a Jinja Template
In previous posts I demonstrated how to pull data from a sqlite / spatialite data to generate reports using Python and Jinja, where Jinja2 is used as a template engine for creating LaTeX documents and...
View Article
More Pages to Explore .....