MVT, regionMapping, and bin calculations? #6397
-
Hi Folks, Catalogue File: MVT Tiles: Region Mapping: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi @Joebjammin Some of those properties in your catalog aren't supported in v8 - We have a catalog converter which can help to translate those old properties - https://catalog-converter.terria.io/ At the moment we don't have binning methods implemented - we have an issue here #4228 We also don't support those "color brewer" strings ( So you need to split it into
This config works for me {
"id": "3",
"name": "HEALTH INSURANCE COVERAGE",
"type": "csv",
"url": "data/HEALTH INSURANCE COVERAGE - DP03 FLC 2019.csv",
"description": "",
"opacity": 0.8,
"defaultStyle": {
"regionColumn": "GEOID",
"color": {
"numberOfBins": 5,
"colorPalette": "Oranges"
}
}
} Let me know how you go 🙂 You didn't supply a regions ID file - so I created this one and it seems to work {"layer":"region_map:FL_COUNTY","property":"GEOID","values":[12001,12003,12005,12007,12009,12011,12013,12015,12017,12019,12021,12023,12027,12029,12031,12033,12035,12037,12039,12041,12043,12045,12047,12049,12051,12053,12055,12057,12059,12061,12063,12065,12067,12069,12071,12073,12075,12077,12079,12081,12083,12085,12086,12087,12089,12091,12093,12095,12097,12099,12101,12103,12105,12107,12109,12111,12113,12115,12117,12119,12121,12123,12125,12127,12129,12131,12133]} |
Beta Was this translation helpful? Give feedback.
-
Hello @nf-s , I have tried your suggestion but it doesn't work for me. I have these: Region Map:
} Catalogue File: please check my data file, regionId, and mvt files: It would be great appreciate to help me. |
Beta Was this translation helpful? Give feedback.
Hi @Joebjammin
Some of those properties in your catalog aren't supported in v8 -
tableStyle
is quite different nowWe have a catalog converter which can help to translate those old properties - https://catalog-converter.terria.io/
At the moment we don't have binning methods implemented - we have an issue here #4228
We also don't support those "color brewer" strings (
"5-class Oranges"
) - issue #5215So you need to split it into
"numberOfBins": 5
"colorPalette": "Oranges"
This config works for me