Merge branch 'fix-required-libs' into fix-per-sq-m-obs-getmeasure-area
This commit is contained in:
@@ -24,7 +24,7 @@ $(DATA): $(SOURCES_DATA)
|
||||
$(SED) $(REPLACEMENTS) $(SOURCES_DATA_DIR)/*.sql > $@
|
||||
|
||||
TEST_DIR = test
|
||||
REGRESS = $(notdir $(basename $(wildcard $(TEST_DIR)/sql/*test.sql)))
|
||||
REGRESS = $(sort $(notdir $(basename $(wildcard $(TEST_DIR)/sql/*test.sql))))
|
||||
REGRESS_OPTS = --inputdir='$(TEST_DIR)' --outputdir='$(TEST_DIR)'
|
||||
|
||||
PG_CONFIG = pg_config
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
-- Install dependencies
|
||||
CREATE EXTENSION postgis;
|
||||
CREATE EXTENSION plpythonu;
|
||||
CREATE EXTENSION cartodb;
|
||||
-- Install the extension
|
||||
CREATE EXTENSION observatory VERSION 'dev';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
-- Install dependencies
|
||||
CREATE EXTENSION postgis;
|
||||
CREATE EXTENSION plpythonu;
|
||||
CREATE EXTENSION cartodb;
|
||||
|
||||
-- Install the extension
|
||||
CREATE EXTENSION observatory VERSION 'dev';
|
||||
|
||||
@@ -34,7 +34,7 @@ SELECT cdb_observatory.OBS_GetBoundary(
|
||||
-- expect null geometry since there are no census tracts at null island
|
||||
-- timespan implictly null
|
||||
SELECT cdb_observatory.OBS_GetBoundary(
|
||||
CDB_LatLng(0, 0),
|
||||
ST_SetSRID(ST_MakePoint(0, 0), 4326),
|
||||
'us.census.tiger.census_tract'
|
||||
) IS NULL As OBS_GetBoundary_null_island_census_tract;
|
||||
|
||||
@@ -78,7 +78,7 @@ SELECT cdb_observatory.OBS_GetBoundaryId(
|
||||
|
||||
-- should give back null since there is not a census tract at null island
|
||||
SELECT cdb_observatory.OBS_GetBoundaryId(
|
||||
CDB_LatLng(0, 0),
|
||||
ST_SetSRID(ST_MakePoint(0, 0), 4326),
|
||||
'us.census.tiger.census_tract'
|
||||
) IS NULL As OBS_GetBoundaryId_null_island;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user