CartoDB / observatory-extension

BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

OBS_GetMeasure(<ST_Polygon|ST_MultiPolygon>) in deployment is normalizing by area by default #159

Closed talos closed 8 years ago

talos commented 8 years ago

The default should be to not normalize with polygons, but instead it is calculating area normalization.

talos commented 8 years ago

This bug is in the PL/Proxy wrapper, not in underlying functions. New issue here: https://github.com/CartoDB/dataservices-api/issues/235

talos commented 8 years ago

Reopening, as we need to make sure that obs_getpopulation and obs_getuscensusmeasure behave nicely (use the default) when given an explicit NULL argument, as that's what will be done upstream (passing NULL instead of default).