Folks,

I am developing a datastore for SDMX data sources (clearly, a geometryless 
one). 
It kind of works, with CQL/XML filters used to bind the dimensions to values 
and 
choose the one measure to return.

However, I don't really know how to return the list of members of a dimension, 
list which is necessary to build the filter.

For instance, before selecting all the male resident population of a certain 
country, I need to know the members of the "Gender" dimension, the list of all 
measures available, and the members of the "Country" dimension as well.

One (lame) way could be to add ancillary feature types, to be queried before 
querying the "real" data.

Say we have a "Population" store (SDMX), then the following feature types would 
be added automatically:
- Population_Cube (Cube itself)
- Population_Cube_Gender (Ancillary feature type containing the members of the 
Gender dimensions, say: "M", "Male"; "F", "Female")
- Population_Cube_Mesure (Ancillary feature type containing the measures, say: 
"1", "Resident population"; "2", "Total population")
- Population_Cube_Country (Ancillary feature type containing the members of the 
Country dimensions, say: "AL", "Albania"; "AU", "Australia" , ...)

Any better idea?

Cheers,
Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
Room 3.08, Level 3, Doug McDonell Building, Parkville Campus
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini
LinkedIn: https://www.linkedin.com/in/lmorandini


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to