Set default value to 1 and remove typo line

This commit is contained in:
Carla 2016-04-14 12:12:17 +02:00
parent 213adcca16
commit 14b8cd7d99

View File

@ -601,7 +601,6 @@ AS $$
IF array_upper(gtypes, 1) <> 1 OR gtypes[1] <> 'ST_Point' THEN
-- This strategy only supports datasets with point geomety
RETURN NULL;
RETURN 'x';
END IF;
--TODO: check applicability: geometry type, minimum number of points...
@ -610,7 +609,7 @@ AS $$
-- Grid size in pixels at Z level overview_z
IF grid_px IS NULL THEN
grid_px := 7.5;
grid_px := 1.0;
END IF;
SELECT * FROM _cdb_split_table_name(reloid) INTO schema_name, table_name;