url_obj = {
	"lsl": {"url":"https://storage.googleapis.com/www.mattbougie.com/marginal_lsl_orange/{z}/{x}/{y}",
			"name":"Low capability land",
			"hex":"blue"
		  },
    "ral": {"url":"https://storage.googleapis.com/www.mattbougie.com/s35_abandonment_final/{z}/{x}/{y}",
			"name":"Recently abandoned land",
			"hex":"red"
		  },
    "irrigation": {"url":"https://storage.googleapis.com/www.mattbougie.com/marginal_ral_blue/{z}/{x}/{y}",
			"name":"Formerly irrigated land",
			"legend":[
				"-9",
				"-8",
				"-7",
				"-6",
				"-5",
				"-4",
				"-3",
				"-2",
				"-1",
				"0",
				"1",
				"2",
				"3",
				"4",
				"5",
				"6",
				"7",
				"8",
				"9"
			]
		  },
		"Formerly irrigated land":{"legend":[
				"9 increase",
				"8",
				"7",
				"6",
				"5",
				"4",
				"3",
				"2",
				"1",
				"0 no change",
				"-1",
				"-2",
				"-3",
				"-4",
				"-5",
				"-6",
				"-7",
				"-8",
				"-9 decrease"
			]
		},
	"Low capability land":{"legend":[
				"-9",
				"-8",
				"-7",
				"-6",
				"-5",
				"-4",
				"-3",
				"-2",
				"-1",
				"0",
				"1",
				"2",
				"3",
				"4",
				"5",
				"6",
				"7",
				"8",
				"9"
			]
		},
	"Recently abandoned land":{"legend":[
				"-9",
				"-8",
				"-7",
				"-6",
				"-5",
				"-4",
				"-3",
				"-2",
				"-1",
				" 0",
				" 1",
				" 2",
				" 3",
				" 4",
				" 5",
				" 6",
				" 7",
				" 8",
				" 9"
			]
		},
	"Historically abandoned croplands":{"legend":[
				"9 increase",
				"8",
				"7",
				"6",
				"5",
				"4",
				"3",
				"2",
				"1",
				"0 no change",
				"-1",
				"-2",
				"-3",
				"-4",
				"-5",
				"-6",
				"-7",
				"-8",
				"-9 decrease"
			]
		},
	"intact": {"url":"https://storage.googleapis.com/www.ag-atlas.org/tiles/test/t1/clu_intact/{z}/{x}/{y}",
			"name":"intactland",
			"hex":"black"
		  }
}



modal_obj = {
	"Low capability land": {
			"modal_title":"Low capability land",
			"modal_content":"Defined as land that is not cropped as of 2017 and that has a NRCS land capability class rating of 5,6,7, or 8.",
			"url":"https://storage.googleapis.com/www.mattbougie.com/marginal_lsl_orange/{z}/{x}/{y}"
		},
	"Recently abandoned land": {
		    "modal_title":"Recently abandoned land",
			"modal_content":"Defined as land that was removed from production between 2008 and 2016.",
			"url":"https://storage.googleapis.com/www.mattbougie.com/s35_abandonment_final/{z}/{x}/{y}"
		},
	"Formerly irrigated land": {
		    "modal_title":"Formerly irrigated land",
			"modal_content":"Defined as land that was irrigated for at least one year 2000-2015 but no longer irrigated in 2016 or 2017.",
			"value":[-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
			"hex": ["#331a00","#662506","#993404","#cc4c02","#ec7014","#fe9929","#fec44f","#fee391","#fff7bc","#ffffe5", "#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858","#000033"],
		},
	"ytc": {
		    "modal_title":"Formerly irrigated land",
			"modal_content":"Defined as land that was irrigated for at least one year 2000-2015 but no longer irrigated in 2016 or 2017.",
			"value":[2009,2010,2011,2012,2013,2014,2015,2016],
			"hex": [
                    "#fee0d2",
                    "#fcbba1",
                    "#fc9272",
                    "#fb6a4a",
                    "#ef3b2c",
                    "#cb181d",
                    "#a50f15",
                    "#67000d"],
		},
	"yfc": {
		    "modal_title":"Formerly irrigated land",
			"modal_content":"Defined as land that was irrigated for at least one year 2000-2015 but no longer irrigated in 2016 or 2017.",
			"value":[2009,2010,2011,2012,2013,2014,2015,2016],
			"hex": [
                  "#deebf7",
                  "#c6dbef",
                  "#9ecae1",
                  "#6baed6",
                  "#4292c6",
                  "#2171b5",
                  "#08519c",
                  "#08306b"],
		},
	"Historically abandoned croplands": {
		    "modal_title":"Historically abandoned croplands",
			"modal_content":"Defined as land that was irrigated for at least one year 2000-2015 but no longer irrigated in 2016 or 2017.",
			"value":[-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
			"hex": ["#331a00","#662506","#993404","#cc4c02","#ec7014","#fe9929","#fec44f","#fee391","#fff7bc","#ffffe5", "#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858","#000033"],
		    "url": "https://storage.googleapis.com/www.agricultureatlas.com/tiles/glbrc/abandonment_t3/{z}/{x}/{y}"
		},
	"intact": {
		    "modal_title":"intact",
			"modal_content":"intact:green_________nonintact:black_________no-data:purple",
			"url":"https://storage.googleapis.com/www.ag-atlas.org/tiles/test/intact_ytc/t4/{z}/{x}/{y}"
		}
}