Thanks for the responses.
Through trial and tribulation I think that the easiest way to get
SpatiaLite support via GDAL/OGR is by installing ms4w. I have had the
most success with v3.0 Beta 6, which comes with GDAL 1.7.0dev. As an
added bonus, installing additional plugins (ex. gdal_SDE, ogr_SDE) is
as simple as moving the desired dlls from the ms4w\gdalplugins\ignored
directory to ms4w\gdalplugins. I have been experimenting with ArcSDE
(v9.2 on Oracle 10g with SDE binary geometry storage) to SpatiaLite
conversion with commands like:
ogr2ogr -f "SQLite" db.sqlite SDE:"server,instance,db,user,password" -
sql "SELECT * FROM usr.table alias WHERE blah blah" -a_srs "EPSG:
32188" -nlt MULTIPOLYGON -dsco FORMAT=SPATIALITE -dsco SPATIALITE=YES
Does anyone know how you can write multiple datasets to the same
SQLite db - either through single or multiple commands? I keep getting
the following error when trying to write a second dataset into an
existing SQLite db:
"It seems a file object called 'YourSQLiteDB' already exists."
I am also having problems converting data (from various formats) that
have contain non-ascii characters such as (é, ô, à etc.) using OGR.
This doesn't seem to be a SpatiaLite issue as the shapefile loader in
the SpatiaLite GUI handles the non-ascii characters without issue as
long as my default output charset is a charset that supports accented
characters. Does anyone have advice for dealing with non-ascii
characters in OGR?