2017-06-29 23:54:11 +08:00
|
|
|
1.6.0 (2017-mm-dd)
|
|
|
|
|
|
|
|
|
2017-05-16 22:33:02 +08:00
|
|
|
1.5.1 (2017-05-16)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Much improved performance for `OBS_GetData` when augmenting with several
|
|
|
|
different geometries simultaneously ([#285](https://github.com/CartoDB/observatory-extension/pull/285))
|
|
|
|
* Return the automatically assigned normalization type from `OBS_GetMeta`
|
|
|
|
([#285](https://github.com/CartoDB/observatory-extension/pull/285))
|
|
|
|
|
2017-04-25 02:22:31 +08:00
|
|
|
1.5.0 (2017-04-24)
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
|
|
|
* Add `suggested_name` to `OBS_GetMeta` responses
|
|
|
|
([#281](https://github.com/CartoDB/observatory-extension/pull/281))
|
|
|
|
* Add `geom_type`, `geom_extra`, and `geom_tags` to
|
|
|
|
`OBS_GetAvailableGeometries`. This brings it up to spec with existing docs.
|
|
|
|
([#282](https://github.com/CartoDB/observatory-extension/pull/282))
|
|
|
|
* Add `timespan_type`, `timespan_extra`, and `timespan_tags` to
|
|
|
|
`OBS_GetAvailableTimespans` for consistency.
|
|
|
|
([#282](https://github.com/CartoDB/observatory-extension/pull/282))
|
|
|
|
|
2017-03-22 05:24:50 +08:00
|
|
|
1.4.0 (2017-03-21)
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
|
|
|
* Allow for override of `target_area` and `target_geoms` in `OBS_GetMeta`
|
2017-04-25 02:22:31 +08:00
|
|
|
([#276](https://github.com/CartoDB/observatory-extension/pull/276)). This
|
2017-03-22 05:24:50 +08:00
|
|
|
allows the interface to work with points and sparse areas much btter.
|
2017-03-22 23:12:50 +08:00
|
|
|
* Allow for override of `max_timespan_rank` and `max_score_rank` on an
|
|
|
|
item-by-item basis for metadata.
|
|
|
|
* `numer_description`, `geom_description`, `denom_description`,
|
|
|
|
`numer_t_description`, `denom_t_description` and `geom_t_description` now
|
|
|
|
returned as part of `OBS_GetMeta`.
|
2017-03-22 05:24:50 +08:00
|
|
|
|
2017-03-22 23:14:35 +08:00
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Reduced amount of simplification done on input geometries (from 0.0001 above
|
|
|
|
500 points to 0.00001 above 1000 points).
|
|
|
|
* Added tests to confirm that accurate results are returned from automatic
|
|
|
|
boundary selection
|
|
|
|
|
2017-03-16 04:12:06 +08:00
|
|
|
1.3.5 (2017-03-15)
|
|
|
|
|
|
|
|
No changes. Artifact to allow for data update.
|
|
|
|
|
2017-03-11 04:14:32 +08:00
|
|
|
1.3.4 (2017-03-10)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Remove erroneously committed `RAISE NOTICE` in `OBS_GetData`
|
|
|
|
|
2017-03-11 03:36:00 +08:00
|
|
|
1.3.3 (2017-03-10)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Resolve divide-by-zero errors in cases where the intersection of an
|
|
|
|
Observatory geometry and user geometry has 0 area
|
|
|
|
([#265](https://github.com/CartoDB/observatory-extension/pull/265))
|
|
|
|
* Run MakeValid on geometry's when intersecting, if necessary
|
|
|
|
([#268](https://github.com/CartoDB/observatory-extension/pull/268))
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Add performance tests for multiple columns in `OBS_GetData`
|
|
|
|
* Major performance boost for `autotest.py` through the use of multi-column
|
|
|
|
`OBS_GetData` instead of separate `OBS_GetMeasure` calls for every single
|
|
|
|
measurement.
|
|
|
|
([#268](https://github.com/CartoDB/observatory-extension/pull/268))
|
|
|
|
* Major performance boost for `OBS_GetData` in cases where multiple columns are
|
|
|
|
requested. Previously, each additional column would result in a linear
|
|
|
|
slowdown, even if geometries could be reused.
|
|
|
|
([#267](https://github.com/CartoDB/observatory-extension/pull/267))
|
|
|
|
|
2017-03-03 05:07:29 +08:00
|
|
|
1.3.2 (2017-03-02)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Accept "prenormalized" as well as "predenominated" to bypass normalization.
|
|
|
|
This fixes issues with Camshaft.
|
|
|
|
|
2017-02-17 01:23:47 +08:00
|
|
|
1.3.1 (2017-02-16)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* It is now possible to obtain measures that are averages or medians over
|
|
|
|
arbitrary polygons ([#254](https://github.com/CartoDB/observatory-extension/pull/254).
|
|
|
|
* Added test point for Australian data
|
2017-03-02 00:03:14 +08:00
|
|
|
* `OBS_GetLegacyMetadata` now returns median and averages in cases where it is
|
|
|
|
called for measures for polygons
|
2017-02-17 01:23:47 +08:00
|
|
|
|
2017-01-19 02:27:50 +08:00
|
|
|
1.3.0 (2017-01-17)
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
|
|
|
* `OBS_GetMeasureDataMulti()` is now called `OBS_GetData()`
|
|
|
|
* `OBS_GetMeasureMetaMulti()` is now called `OBS_GetMeta()`
|
|
|
|
* Additional signature for `OBS_GetData` which can take an array of `TEXT`,
|
|
|
|
mimicking functionality of `OBS_GetMeasureByID`
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Generate fixtures from `obs_meta`
|
|
|
|
* Remove unused table-level code
|
|
|
|
* Refactor all augmentation and geometry functions to obtain data from
|
|
|
|
`OBS_GetMeta()` and `OBS_GetData()`.
|
|
|
|
* Improvements to `OBS_GetMeta()` so it can still fill in metadata in cases
|
|
|
|
where only a geometry is being requested.
|
|
|
|
* `OBS_GetData()` returns two-column table instead of anonymous record.
|
|
|
|
* `OBS_GetData()` can return categorical (text) and geometries
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Remove unnecessary dependency on `postgres_fdw`
|
|
|
|
* `OBS_GetData()` now aggregates measures with mixed geoms correctly
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
2017-01-17 23:42:30 +08:00
|
|
|
1.2.1 (2017-01-17)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Support Point/LineString in responses from `OBS_GetBoundary`.
|
|
|
|
([#243](https://github.com/CartoDB/observatory-extension/pull/233))
|
|
|
|
|
2016-12-29 04:04:26 +08:00
|
|
|
1.2.0 (2016-12-28)
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
|
|
|
* Added `OBS_GetMeasureDataMulti`, which takes an array of geomvals and
|
|
|
|
parameters as JSON, and returns a set of RECORDs keyed by the vals of the
|
|
|
|
geomvals.
|
|
|
|
* Added `OBS_GetMeasureMetaMulti`, which takes sparse metadata as JSON (for
|
|
|
|
example, the measure ID) and returns a filled-out version of the metadata
|
|
|
|
sufficient for use with `OBS_GetMeasureDataMulti`.
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Move tests to 2015
|
|
|
|
* Fixes to `_OBS_GetGeometryScores` to avoid spamming NOTICEs about all pixels
|
|
|
|
for a band being NULL
|
|
|
|
* Tests for `_OBS_GetGeometryScores` with complex geometries
|
|
|
|
* Performance tests for `OBS_GetMeasureDataMulti`
|
|
|
|
* Return both `table_id` and `column_id` from `_OBS_GetGeometryScores`
|
|
|
|
|
2016-12-16 03:56:42 +08:00
|
|
|
1.1.7 (2016-12-15)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Use simpler raster table and simplified `_OBSGetGeometryScores` functions to
|
|
|
|
improve performance
|
|
|
|
* In cases where geometry passed into geometry scoring function has greater
|
|
|
|
than 10K points, simply use its buffer instead
|
|
|
|
* Add `IMMUTABLE` to `_OBSGetGeometryScores`
|
|
|
|
* Add tests explicitly for `_OBSGetGeometryScores` in perftest.py
|
|
|
|
* Yields a ~50% improvement in performance for `_OBSGetGeomeryScores`.
|
|
|
|
|
2016-12-09 05:59:32 +08:00
|
|
|
1.1.6 (2016-12-08)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Fix divide by zero condition in "denominator" branch of `OBS_GetMeasure`
|
|
|
|
when passing in a polygon ([#233](https://github.com/CartoDB/observatory-extension/pull/233)).
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Use `ST_Subdivide` to improve performance when functions are called on very
|
|
|
|
complex geometries (with many points) ([#232](https://github.com/CartoDB/observatory-extension/pull/232))
|
|
|
|
* Improve raster scoring to more heavily weight boundaries with nearer to
|
|
|
|
correct number of points, and penalize boundaries with lots of blank space
|
|
|
|
([#232](https://github.com/CartoDB/observatory-extension/pull/232))
|
|
|
|
* Remove some redundant area calculations in `OBS_GetMeasure`
|
|
|
|
([#232](https://github.com/CartoDB/observatory-extension/pull/232))
|
|
|
|
* Replace use of `format('%L', var)` with proper use of `EXECUTE` and `$1` etc.
|
|
|
|
variables ([#231](https://github.com/CartoDB/observatory-extension/pull/231))
|
|
|
|
* Add test point for Brazil
|
|
|
|
([#229](https://github.com/CartoDB/observatory-extension/pull/229))
|
|
|
|
* Improvements to performance tests
|
|
|
|
([#229](https://github.com/CartoDB/observatory-extension/pull/229))
|
|
|
|
- Support simple and complex geometries
|
|
|
|
- Handle all code branches
|
|
|
|
- Add ability to persist results to JSON for graph visualization later
|
|
|
|
|
2016-11-30 00:45:10 +08:00
|
|
|
1.1.5 (2016-11-29)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Return `NULL` instead of raising an exception when a measure is requested for
|
|
|
|
a geometry where it does not exist ([#220](https://github.com/CartoDB/observatory-extension/issues/220)).
|
|
|
|
|
2016-11-22 06:32:14 +08:00
|
|
|
1.1.4 (2016-11-21)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Fix duplicate subsections with only a partial set of measures appearing from
|
|
|
|
`OBS_GetLegacyMetadata` ([#216](https://github.com/CartoDB/observatory-extension/issues/216)).
|
|
|
|
|
2016-11-16 02:36:44 +08:00
|
|
|
1.1.3 (2016-11-15)
|
|
|
|
|
|
|
|
* Temporarily ignore EU data for the sake of testing
|
|
|
|
|
2016-11-10 06:11:20 +08:00
|
|
|
1.1.2 (2016-11-09)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Update public `OBS_GetMeasure` to use highest ranked boundary, aiming for 500
|
|
|
|
geoms. ([#190](https://github.com/CartoDB/observatory-extension/issues/190))
|
|
|
|
* Update test generation to capture our raster tiles
|
|
|
|
* Standardize the way we generate our test points for `autotest.py`
|
|
|
|
* Add points for epa and eurostat
|
|
|
|
* Should support database dump generated 20161109
|
|
|
|
|
|
|
|
__API Changes (Internal)__
|
|
|
|
|
|
|
|
* Add internal `_OBS_GetGeometryScores`
|
|
|
|
|
2016-10-15 04:17:46 +08:00
|
|
|
1.1.1 (2016-10-14)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Test points for Canada and France ([#204](https://github.com/CartoDB/observatory-extension/issues/120))
|
|
|
|
|
2016-10-05 06:35:48 +08:00
|
|
|
1.1.0 (2016-10-04)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Fixed some minor errors in test suite
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* We now generate test fixtures from local data instead of remote server
|
|
|
|
([#120](https://github.com/CartoDB/observatory-extension/issues/120))
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
|
|
|
* New function, `OBS_LegacyBuilderMetadata`, which resolves
|
|
|
|
([#133]( https://github.com/CartoDB/observatory-extension/issues/133))
|
|
|
|
* Creates "dimensional" metadata grabbing functions
|
|
|
|
(`OBS_GetAvailableNumerators`, `OBS_GetAvailableDenominators`,
|
|
|
|
`OBS_GetAvailableGeometries`, `OBS_GetAvailableTimespans`) which will be
|
|
|
|
used for obtaining metadata in the replacement for the Data Library
|
|
|
|
([CartoDB/design#104](https://github.com/CartoDB/design/issues/104)). This
|
|
|
|
is also referred to here ([CartoDB/design#68](https://github.com/CartoDB/design/issues/68)).
|
|
|
|
|
2016-09-21 01:56:23 +08:00
|
|
|
1.0.7 (2016-09-20)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* `NULL` geometries or geometry IDs no longer result in an exception from any
|
|
|
|
augmentation functions ([#178](https://github.com/CartoDB/observatory-extension/issues/178))
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Automatic tests work for Canada and Thailand
|
|
|
|
|
2016-09-08 16:37:37 +08:00
|
|
|
1.0.6 (2016-09-08)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* New function structure for Table-level functions which allows to separate the
|
|
|
|
framework logic from the observatory measure functions.
|
|
|
|
|
2016-08-13 02:56:06 +08:00
|
|
|
1.0.5 (2016-08-12)
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Integration tests moved to `src/python/test/`, and can be run without hitting
|
|
|
|
any HTTP SQL API.
|
|
|
|
|
2016-07-26 21:08:28 +08:00
|
|
|
1.0.4 (2016-07-26)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Always default arguments to `NULL`, which prevents duplication & overwrite by
|
|
|
|
dataservices-api
|
|
|
|
([#173](https://github.com/CartoDB/observatory-extension/issues/173))
|
|
|
|
|
2016-07-25 21:20:09 +08:00
|
|
|
1.0.3 (2016-07-25)
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Raise exception instead of crashing when `OBS_GetMeasure` is passed a polygon
|
|
|
|
in combination with a non-summable measure ([cartodb/issues
|
|
|
|
#9063](https://github.com/CartoDB/cartodb/issues/9063))
|
|
|
|
* Unnecessary dependencies on cartodb and plpythonu removed
|
|
|
|
([#161](https://github.com/CartoDB/observatory-extension/issues/161))
|
|
|
|
* Tests forced to run in-order on all systems
|
|
|
|
([#162](https://github.com/CartoDB/observatory-extension/issues/162))
|
|
|
|
* Area normalization done by square kilometer instead of square meter for
|
|
|
|
polygons ([#158](https://github.com/CartoDB/observatory-extension/issues/158))
|
|
|
|
* `postgres-fdw` installed as required in unit test environment
|
|
|
|
([#166](https://github.com/CartoDB/observatory-extension/issues/166))
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Added tests to make sure all functions can handle explicit NULL as default
|
|
|
|
([#159](https://github.com/CartoDB/observatory-extension/issues/159))
|
|
|
|
* Buffer and snaptogrid used to be far more liberal accepting problem geoms
|
|
|
|
([#170](https://github.com/CartoDB/observatory-extension/issues/160))
|
|
|
|
|
|
|
|
|
2016-07-13 05:49:34 +08:00
|
|
|
1.0.2 (2016-07-12)
|
|
|
|
---
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Fix for `OBS_GetCategory` outside the US ([#135](https://github.com/CartoDB/observatory-extension/pull/137))
|
2016-07-14 21:21:16 +08:00
|
|
|
* `OBS_GetMeasure` now respects the `normalize` parameter even when passed
|
|
|
|
a multi/polygon. Previously, no normalization was erroneously assumed.
|
2016-07-13 05:49:34 +08:00
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Automated tests cover Mexico data
|
|
|
|
* `obs_meta` is now provisioned during unit tests
|
2016-07-14 21:21:16 +08:00
|
|
|
* `obs_meta` is now used during end-to-end tests
|
2016-07-13 05:49:34 +08:00
|
|
|
* `OBS_GetMeasureByID` uses `obs_meta` internally, which should help
|
|
|
|
performance
|
|
|
|
* `OBS_GetCategory` uses `obs_meta` internally, which should help perfromance
|
|
|
|
* `OBS_GetCategory` will pick the correct category for an arbitrary polygon
|
|
|
|
(the category covering the highest % of that polygon)
|
2016-07-14 21:21:16 +08:00
|
|
|
* `OBS_GetMeasure` has been updated to use `obs_meta` internally, which should
|
|
|
|
help performance
|
|
|
|
* `OBS_GetMeasure` now can be passed "none" and skip normalization by area or
|
|
|
|
denominator for points
|
2016-07-13 05:49:34 +08:00
|
|
|
* Fixtures are only loaded at the start of the unit test suite, and dropped at the end,
|
|
|
|
instead of at the start/end of each individual test file
|
2016-07-13 23:07:06 +08:00
|
|
|
* Comment noisy NOTICEs ([#73](https://github.com/CartoDB/observatory-extension/issues/73))
|
2016-07-13 05:49:34 +08:00
|
|
|
|
2016-07-02 00:55:07 +08:00
|
|
|
1.0.1 (2016-07-01)
|
|
|
|
---
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Fix for ERROR: Operation on mixed SRID geometries #130
|
|
|
|
|
|
|
|
|
2016-06-28 00:51:39 +08:00
|
|
|
1.0.0 (6/27/2016)
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Incremented to 1.0.0 to be in compliance with [SemVer](http://semver.org/),
|
|
|
|
which disallows use of 0.x.x versions. This also reflects that we are
|
|
|
|
already in production.
|
|
|
|
|
|
|
|
__API Changes__
|
|
|
|
|
|
|
|
* Added `OBS_DumpVersion` to look up version data ([#118](https://github.com/CartoDB/observatory-extension/pull/118))
|
|
|
|
|
|
|
|
__Improvements__
|
|
|
|
|
|
|
|
* Whether data exists for a geom now determined by polygon intersection instead of
|
|
|
|
BBOX overlap ([#119](https://github.com/CartoDB/observatory-extension/pull/119))
|
|
|
|
* Automated tests cover Spanish and UK data
|
|
|
|
([#115](https://github.com/CartoDB/observatory-extension/pull/115))
|
|
|
|
* Automated tests cover `OBS_GetUSCensusMeasure`
|
|
|
|
([#105](https://github.com/CartoDB/observatory-extension/pull/105))
|
|
|
|
|
|
|
|
__Bugfixes__
|
|
|
|
|
|
|
|
* Geom table can have different `geomref_colname` than the data table
|
|
|
|
([#123](https://github.com/CartoDB/observatory-extension/pull/123))
|
|
|
|
|
|
|
|
|
2016-05-27 02:13:12 +08:00
|
|
|
0.0.5 (5/27/2016)
|
|
|
|
-----
|
|
|
|
* Adds new function `OBS_GetMeasureById` ([#96](https://github.com/CartoDB/observatory-extension/pull/96))
|
|
|
|
|
|
|
|
0.0.4 (5/25/2016)
|
|
|
|
-----
|
|
|
|
* Updates queries involving US Census measure tags to be more generic ([#95](https://github.com/CartoDB/observatory-extension/pull/95))
|
|
|
|
* Fixes tests which relied on an erroneous subset of block groups ([#95](https://github.com/CartoDB/observatory-extension/pull/95))
|
|
|
|
|
|
|
|
0.0.3 (5/24/2016)
|
|
|
|
-----
|
|
|
|
* Generalizes internal queries to properly pull from multiple named geometry references
|
|
|
|
* Adds tests for Who's on First boundaries
|
|
|
|
* Improves automatic fixtures testing script
|
|
|
|
|
|
|
|
0.0.2 (5/19/2016)
|
|
|
|
-----
|
|
|
|
* Adds Data Observatory exploration functions
|
|
|
|
* Adds Data Observatory boundary functions
|
|
|
|
* Adds Data Observatory measure functions
|
|
|
|
* Adds script to generate fixtures for tests
|
|
|
|
* Adds script for the automatic testing of metadata
|
|
|
|
* Adds full documentation for all included functions
|
|
|
|
* removes `cartodb` extension dependency
|
|
|
|
|
|
|
|
0.0.1 (5/19/2016)
|
2016-04-07 02:03:04 +08:00
|
|
|
------------------
|
2016-05-27 02:13:12 +08:00
|
|
|
* First iteration of `OBS_GetDemographicSnapshot(location Geometry(Point,4326))`
|