im using 0.5.1(2917) installed with app installer on top of a
previous version build on terminal with the steps (tilemill, mapnik
builds ... ) described for installation by that time (not online
anymore i think) i dont remember exactly all process.
Support Staff8 Posted by Dane on 04 Oct, 2011 11:07 PM
This sqlite file is different than any I've seen before. It
appears that FME supports writing some difference kinds of geometry
storage. The SQLite db reports 'FGF' for the geometry type which is
not going to work (http://trac.osgeo.org/fdo/wiki/FDORfc16).
Also, gdal/ogr fails to convert this file, which indicates to me
that something larger may be wrong with how it was authored:
$ ogrinfo /Users/dane/Documents/MapBox/data/caop_almada_LL84.sqlite -so -al
INFO: Open of `/Users/dane/Documents/MapBox/data/caop_almada_LL84.sqlite'
using driver `SQLite' successful.
Layer name: caop_almada
Geometry: Multi Point
Feature Count: 11
Extent: (-9.262975, 38.550321) - (-9.128496, 38.688414)
Layer SRS WKT:
FID Column = PRIMARYINDEX
Geometry Column = Geometry
AREA2008_1: Real (0.0)
CONCELHO: String (0.0)
DICO: String (0.0)
DICOFRE: String (0.0)
DISTRITO: String (0.0)
FID: Integer (0.0)
FREGUESIA: String (0.0)
OUTRAS_INF: String (0.0)
dane$ ogr2ogr test.shp /Users/dane/Documents/MapBox/data/caop_almada_LL84.sqlite
ERROR 1: Attempt to write non-multipoint (POLYGON) geometry to multipoint shapefile.
ERROR 1: Terminating translation prematurely after failed
translation of layer caop_almada (use -skipfailures to skip errors)
Support Staff9 Posted by Dane on 04 Oct, 2011 11:09 PM
I recommend using FME to convert this to something other than
sqlite, or trying to direct FME to use a GDAL/OGR compatible format
for the sqlite file that uses OGC WKB for the geometry storage.
I've never used FME myself otherwise I might have more helpful
suggestions. Interested in what you find.