Add missing input srid in test
Happens to work without srid specification due to && operator not re-checking in newer postgis, but would fail with older postgis.
This commit is contained in:
parent
cdf6cf6e99
commit
576e56ec17
1 changed files with 1 additions and 1 deletions
|
@ -1017,7 +1017,7 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \
|
|||
def test_variable_in_subquery1():
|
||||
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,table='''
|
||||
(select * from test where @zoom = 30 ) as tmp''',
|
||||
geometry_field='geom',
|
||||
geometry_field='geom', srid=4326,
|
||||
autodetect_key_field=True)
|
||||
fs = ds.featureset(variables={'zoom':30})
|
||||
for id in range(1,5):
|
||||
|
|
Loading…
Add table
Reference in a new issue