please note: SpatiaLite isn't simply SQLite.
you have to load libspatialite someway if you really want to get a
full and comprehensive support.
a brief technical explanation:
any Spatialite's own DB extensively relies on several TRIGGERs so
to ensure the proper level of data integrity (geometry validation
and spatial index synchronization).
RTreeAlign is exactly the SQL function taking care of R*Tree (spatial
index) synchronization. but RTreeAlign is an "extension function",
so you are required to load anyway the libspatialite dynamic extension
in order to get the corresponding code implementation.
suggestions and hints:
1) you can try this one:
SELECT load_extension('libspatialite-2.dll');
(or whatever is appropriate for your actual platform)
may be this is supported by the sw tool you are using,
or may be not ... check and try by yourself :-D
2) use spatialite_gui: a nice GUI tool offering full support
to both SQLite and SpatiaLite (no installation, no configuration;
just copy somewhere and start working).
http://www.gaia-gis.it/gaia-sins/windows-bin-x86/spatialite_gui-1.5.0-stable-win-x86.zip
bye Sandro
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.