postgis test: fix for postgis < 2.x
This commit is contained in:
parent
5083a24f89
commit
427308d654
1 changed files with 2 additions and 1 deletions
|
@ -472,7 +472,8 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \
|
|||
def create_ds():
|
||||
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,
|
||||
table='test',
|
||||
max_size=20)
|
||||
max_size=20,
|
||||
geometry_field='geom')
|
||||
fs = ds.all_features()
|
||||
|
||||
def test_threaded_create(NUM_THREADS=100):
|
||||
|
|
Loading…
Reference in a new issue