Cartodb: Lost D.O. total measures

Created on 21 Nov 2016  路  10Comments  路  Source: CartoDB/cartodb

Context

Measures like total people, total foreigners, etc. are lost from the combo box. At least in Spain.

Steps to Reproduce

Just try to add a Population measure to a points dataset in Spain. The option is not there

Additional info

Looks like the values eventually tagged as potential denominators for normalizing are not being offered as measures in the combo. But then you have 'Total dwellings' within 'Housing' category, so this theory hace aguas.

cc @talos @danicarrion

Data-services

Most helpful comment

Looks like it's working ok now, so let's close it.

Thanks mates!

All 10 comments

cc @rafatower @ethervoid

Btw, these measures are available through the API.

The dataservices function is returning all the data but seems like the builder is not parsing it correctly and doesn't show all the options.

The problem comes from the group policy used by the OBS_LegacyBuilderMetadata function which creates multiples objects for the same tag.

In the case of Spain, there are 5 different tags.age_gender objects and the builder instead of accumulating them, override the key and only the last one is shown.

We should fix the legacybuildermetadata to make it group by tag

// @talos

I'm working on a fix in the builder part to aggregate it instead of override just in case

Just opened a PR for observatory-extension v1.1.4, which should fix this bug.

Deployed new version of the observatory with the fix for this bug. @AbelVM could you please re-check if it's all ok, thx! :)

I see the same options under age&gender :(

@AbelVM could you post a screenshot of the menu with missing measures? It appears to be working for me:

screen shot 2016-11-22 at 10 10 02 am

Looks like it's working ok now, so let's close it.

Thanks mates!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arianaescobar picture arianaescobar  路  5Comments

rochoa picture rochoa  路  3Comments

makella picture makella  路  3Comments

ivanmalagon picture ivanmalagon  路  3Comments

jesusbotella picture jesusbotella  路  4Comments