sqlite: do not alias geometry field name

This commit is contained in:
Dane Springmeyer 2011-11-03 19:50:36 -04:00
parent 35e026eb8c
commit 19d92371c5

View file

@ -164,7 +164,7 @@ if 'sqlite' in mapnik2.DatasourceCache.instance().plugin_names():
eq_(feature['lat'],17.078)
ds = mapnik2.SQLite(file='../data/sqlite/world.sqlite',
table='(select OGC_FID,GEOMETRY as geom from world_merc)',
table='(select OGC_FID,GEOMETRY from world_merc)',
)
fs = ds.featureset()
feature = fs.next()