Skip to content

Commit

Permalink
Merge pull request #231 from cga-harvard/classifier
Browse files Browse the repository at this point in the history
'Classify' (Choropleth) tool for layer styles
  • Loading branch information
bartvde committed Nov 13, 2015
2 parents 5f2ae36 + bb51790 commit 4f85f33
Show file tree
Hide file tree
Showing 19 changed files with 996 additions and 54 deletions.
5 changes: 4 additions & 1 deletion src/script/locale/ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,10 @@ GeoExt.Lang.add("ca", {
styleWindowTitle: "Estil: {0}",
ruleWindowTitle: "Regla: {0}",
stylesFieldsetTitle: "Estils",
rulesFieldsetTitle: "Regles"
rulesFieldsetTitle: "Regles",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"

},

"gxp.LayerUploadPanel.prototype": {
Expand Down
4 changes: 3 additions & 1 deletion src/script/locale/cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ GeoExt.Lang.add("en", {
styleWindowTitle: "用户式样: {0}",
ruleWindowTitle: "式样规则: {0}",
stylesFieldsetTitle: "式样",
rulesFieldsetTitle: "规则"
rulesFieldsetTitle: "规则",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down
4 changes: 3 additions & 1 deletion src/script/locale/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ GeoExt.Lang.add("de", {
styleWindowTitle: "User Style: {0}",
ruleWindowTitle: "Style Regel: {0}",
stylesFieldsetTitle: "Styles",
rulesFieldsetTitle: "Regeln"
rulesFieldsetTitle: "Regeln",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down
33 changes: 32 additions & 1 deletion src/script/locale/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,9 @@ GeoExt.Lang.add("el", {
styleWindowTitle: "Στυλ Χρήστη: {0}",
ruleWindowTitle: "Κανόνες Στυλ: {0}",
stylesFieldsetTitle: "Στυλ",
rulesFieldsetTitle: "Κανόνες"
rulesFieldsetTitle: "Κανόνες",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down Expand Up @@ -416,6 +418,35 @@ GeoExt.Lang.add("el", {
doneText: "Done",
titleText: "Προσθήκη ροής",
maxResultsText: "Max Είδη"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
33 changes: 32 additions & 1 deletion src/script/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ GeoExt.Lang.add("en", {
styleWindowTitle: "User Style: {0}",
ruleWindowTitle: "Style Rule: {0}",
stylesFieldsetTitle: "Styles",
rulesFieldsetTitle: "Rules"
rulesFieldsetTitle: "Rules",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down Expand Up @@ -427,6 +429,35 @@ GeoExt.Lang.add("en", {
doneText: "Done",
titleText: "Add Feeds",
maxResultsText: "Max Items"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
33 changes: 32 additions & 1 deletion src/script/locale/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ GeoExt.Lang.add("es", {
styleWindowTitle: "Estilo: {0}",
ruleWindowTitle: "Regla: {0}",
stylesFieldsetTitle: "Estilos",
rulesFieldsetTitle: "Reglas"
rulesFieldsetTitle: "Reglas",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down Expand Up @@ -423,6 +425,35 @@ GeoExt.Lang.add("es", {
doneText: "Hecho",
titleText: "Agregar Feeds",
maxResultsText: "Productos Max"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
58 changes: 58 additions & 0 deletions src/script/locale/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,35 @@ GeoExt.Lang.add("fr", {
largeSizeLabel: 'Large'
},

"gxp.WMSStylesDialog.prototype": {
addStyleText: "Add",
addStyleTip: "Add a new style",
chooseStyleText: "Choose style",
deleteStyleText: "Remove",
deleteStyleTip: "Delete the selected style",
editStyleText: "Edit",
editStyleTip: "Edit the selected style",
duplicateStyleText: "Duplicate",
duplicateStyleTip: "Duplicate the selected style",
addRuleText: "Add",
addRuleTip: "Add a new rule",
newRuleText: "New Rule",
deleteRuleText: "Remove",
deleteRuleTip: "Delete the selected rule",
editRuleText: "Edit",
editRuleTip: "Edit the selected rule",
duplicateRuleText: "Duplicate",
duplicateRuleTip: "Duplicate the selected rule",
cancelText: "Cancel",
saveText: "Save",
styleWindowTitle: "User Style: {0}",
ruleWindowTitle: "Style Rule: {0}",
stylesFieldsetTitle: "Styles",
rulesFieldsetTitle: "Rules",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
titleLabel: "Titre",
titleEmptyText: "Titre de la couche",
Expand Down Expand Up @@ -358,6 +387,35 @@ GeoExt.Lang.add("fr", {
doneText: "Terminé",
titletext: "Ajouter RSS",
maxResultsText: "Articles Max"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
33 changes: 32 additions & 1 deletion src/script/locale/id.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ GeoExt.Lang.add("id", {
styleWindowTitle: "User Style: {0}",
ruleWindowTitle: "Style Rule: {0}",
stylesFieldsetTitle: "Styles",
rulesFieldsetTitle: "Rules"
rulesFieldsetTitle: "Rules",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down Expand Up @@ -424,6 +426,35 @@ GeoExt.Lang.add("id", {
doneText: "Selesai",
titleText: "Tambah Blog",
maxResultsText: "Produk Max"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
33 changes: 32 additions & 1 deletion src/script/locale/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ GeoExt.Lang.add("it", {
styleWindowTitle: "Stile Utente: {0}",
ruleWindowTitle: "Regola dello stile: {0}",
stylesFieldsetTitle: "Stili",
rulesFieldsetTitle: "Regole"
rulesFieldsetTitle: "Regole",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down Expand Up @@ -427,6 +429,35 @@ GeoExt.Lang.add("it", {
doneText: "Fatto",
titleText: "Aggiungi Feed",
maxResultsText: "Numero Max risultati"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
33 changes: 32 additions & 1 deletion src/script/locale/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ GeoExt.Lang.add("nl", {
styleWindowTitle: "Kaartstijl: {0}",
ruleWindowTitle: "Klasse: {0}",
stylesFieldsetTitle: "Kaartstijlen",
rulesFieldsetTitle: "Klassen"
rulesFieldsetTitle: "Klassen",
classifyStyleText: "Classify",
classifyStyleTip: "Classify the layer based on attributes"
},

"gxp.LayerUploadPanel.prototype": {
Expand Down Expand Up @@ -385,6 +387,35 @@ GeoExt.Lang.add("nl", {
doneText: "Klaar",
titleText: "Voeg Feeds",
maxResultsText: "Max Items"
},

"gxp.ClassificationPanel.prototype": {
classNumberText: 'Classes',
classifyText: "Classify",
rampBlueText: "Blue",
rampRedText: "Red",
rampOrangeText: "Orange",
rampJetText: "Blue-Red",
rampGrayText: "Gray",
rampRandomText: "Random",
rampCustomText: "Custom",
selectColorText: "Select colors",
colorStartText: "Start Color",
colorEndText: "End Color",
colorRampText: 'Color Ramp',
methodText: "Method",
methodUniqueText: "Unique Values",
methodQuantileText: "Quantile",
methodEqualText: "Equal Intervals",
methodJenksText: "Jenks Natural Breaks",
selectMethodText: "Select method",
standardDeviationText: "Standard Deviations",
attributeText: "Attribute",
selectAttributeText: "Select attribute",
startColor: "#FEE5D9",
endColor: "#A50F15",
generateRulesText: "Apply",
reverseColorsText: "Reverse colors"
}

});
Loading

0 comments on commit 4f85f33

Please sign in to comment.