Guides for grognards

5 thoughts
last posted March 30, 2018, 10:40 a.m.

2 later thoughts

0

SpatiaLite on Ubuntu

Django 1.9 docs: Installing Spatialite

Spatialite packages:

  • spatialite-bin

Header packages:

  • GEOS: libgeos-dev libgeos++-dev
  • PROJ.4: libproj-dev
  • GDAL: libgdal-dev

To initialise a SpatiaLite DB:

spatialite foo.sqlite3 "SELECT InitSpatialMetaData();"

(Since Django 1.8, django-admin will do this automatically.)

2 earlier thoughts