first pass obs_getmeasure
This commit is contained in:
@@ -91,6 +91,16 @@ Done.
|
||||
{X10} |
|
||||
(1 row)
|
||||
|
||||
obs_getmeasure
|
||||
----------------------------------------------------
|
||||
{"name" : "total_pop", "value" : 9516.27915900609}
|
||||
(1 row)
|
||||
|
||||
obs_getmeasure
|
||||
----------------------------------------------------
|
||||
{"name" : "total_pop", "value" : 12140.2484103572}
|
||||
(1 row)
|
||||
|
||||
Dropping obs_table.sql fixture table...
|
||||
Done.
|
||||
Dropping obs_column.sql fixture table...
|
||||
|
||||
@@ -125,4 +125,19 @@ SELECT * FROM
|
||||
'"us.census.tiger".census_tract'
|
||||
);
|
||||
|
||||
-- Point-based OBS_GetMeasure, default normalization (area)
|
||||
SELECT * FROM
|
||||
cdb_observatory.OBS_GetMeasure(
|
||||
cdb_observatory._TestPoint(),
|
||||
'"us.census.acs".B01001001'
|
||||
);
|
||||
|
||||
-- Poly-based OBS_GetMeasure, default normalization (none)
|
||||
SELECT * FROM
|
||||
cdb_observatory.OBS_GetMeasure(
|
||||
cdb_observatory._TestArea(),
|
||||
'"us.census.acs".B01001001'
|
||||
);
|
||||
|
||||
|
||||
\i test/sql/drop_fixtures.sql
|
||||
|
||||
Reference in New Issue
Block a user