nanocube
nanocube copied to clipboard
Max cardinality for a category is 256.
IN FlatTreeSerialization.hh Line 38. type->getNumFields()
It resets to 0 after the number of categories crosses 256. Something to do with datatype.
It's currently assumed that the size of the category is a byte 8bit therefore the valid value is 0-255.
we are working on allowing datatype change.
Thanks!
Horace
On Thu, Feb 26, 2015 at 1:47 AM, malcolm2xd [email protected] wrote:
IN FlatTreeSerialization.hh Line 38. type->getNumFields()
It resets to 0 after the number of categories crosses 256. Something to do with datatype.
— Reply to this email directly or view it on GitHub https://github.com/laurolins/nanocube/issues/27.
Wow.. that was a speedy answer. Is there anyway I can change it in local source code and build it again to enable more than 256, or just ignore the error.. Actually i don't want to see 256, just top 10. Currently it errors out hence I cant proceed.
Beautiful tool by the way.. called it Balrog :-)
If you are using the web viewer check the json config file, you can modify that from the gui.
The json configs that it generates for the web viewer will have a "displaynumcat" attribute, you can play with that variable enable extra categories.
e.g.
"crime": { "opacity": 0.8, "right": "10px", "top": "30px", "height": "500px", "width": "500px", "z-index": 1, "displaynumcat": 25, "margin-left": "290px", "position": "absolute", "font": "10pt sans-serif", "background-color": "#555" }
Thanks!
On Thu, Feb 26, 2015 at 2:23 AM, malcolm2xd [email protected] wrote:
Wow.. that was a speedy answer. Is there anyway I can change it in local source code and build it again to enable more than 256, or just ignore the error.. Actually i don't want to see 256, just top 10. Currently it errors out hence I cant proceed.
Beautiful tool by the way.. called it Balrog :-)
— Reply to this email directly or view it on GitHub https://github.com/laurolins/nanocube/issues/27#issuecomment-76133285.
Awesome..i will use that.. Right now I have disabled those categories. Will wait for your code fix.