mapnik-org/mapnik — Issue #817: sqlite could auto-create an rtree index if none exists
Author: artemp
Created: 2011-10-11 08:13:14+00:00
State: open
Labels: Core_Library

RTree spatial indexes are critical for rendering speed from sqlite. SQLite's behavior when a database does not exist is to create one on the fly. So, it seems reasonable for the same behavior to be enabled when an index does not exist. r3124 added the ability to build up the total table extent on the fly when an index is missing, so should be easy to enable creation of an index in the same loop.