Update perftests with new geometries

This commit is contained in:
Javier Torres 2019-01-08 20:17:46 +01:00
parent 50bddfd08d
commit d8e99d75aa

View File

@ -25,7 +25,7 @@ for q in (
FROM (SELECT * FROM {schema}OBS_GetBoundariesByGeometry( FROM (SELECT * FROM {schema}OBS_GetBoundariesByGeometry(
st_makeenvelope(-74.1, 40.5, st_makeenvelope(-74.1, 40.5,
-73.8, 40.9, 4326), -73.8, 40.9, 4326),
'us.census.tiger.census_tract_clipped')) foo 'us.census.tiger.census_tract_2015_clipped')) foo
ORDER BY ST_NPoints(the_geom) ASC ORDER BY ST_NPoints(the_geom) ASC
LIMIT 1000''', LIMIT 1000''',
'DROP TABLE IF EXISTS obs_perftest_complex', 'DROP TABLE IF EXISTS obs_perftest_complex',
@ -42,7 +42,7 @@ for q in (
FROM (SELECT * FROM {schema}OBS_GetBoundariesByGeometry( FROM (SELECT * FROM {schema}OBS_GetBoundariesByGeometry(
st_makeenvelope(-75.05437469482422,40.66319159533881, st_makeenvelope(-75.05437469482422,40.66319159533881,
-73.81885528564453,41.745696344339564, 4326), -73.81885528564453,41.745696344339564, 4326),
'us.census.tiger.county_clipped')) foo 'us.census.tiger.county_2015_clipped')) foo
ORDER BY ST_NPoints(the_geom) DESC ORDER BY ST_NPoints(the_geom) DESC
LIMIT 50;'''): LIMIT 50;'''):
q_formatted = q.format( q_formatted = q.format(