[Xastir-dev] Topic: Data Persistence, Xastir-NG

Curt, WE7U archer at eskimo.com
Sun Jun 15 12:14:41 EDT 2008


On Sun, 15 Jun 2008, Gerry Creager wrote:

> My preference for hand-held and embedded devices... at this time and subject
> to change... is SQLite and adding a geoprocessing layer, probably based on
> GDAL, in.

I'd prefer SQLite over Berkeley.  I've used Berkeley (BDB) a bit and
it suffers from "changing API" problems which can cause programs to
blow up.  Many Linux distributions include one or more versions of
BDB already:  If you try to use a recent one you sometimes find the
headers for one and the libraries for another.  I added run-time
checks to Xastir so that it didn't fall over when this condition is
found, but instead disables the BDB use.

To be fair, there's a "compatibility API" for BDB based on some very
old version's capability, which is supposed to map to some recent
BDB that's on the system.  We don't use that API.

I would think that switching to SQLite for small(ish) devices would
prevent these issues.

Again, I'd like a way to isolate Xastir (or the majority of Xastir
code) from the back-end database so that we could have multiple
options.  I'd rather use PostGIS where the platform allows.

-- 
Curt, WE7U.				archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list