Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created June 12, 2012 19:40
Show Gist options
  • Save wboykinm/2919675 to your computer and use it in GitHub Desktop.
Save wboykinm/2919675 to your computer and use it in GitHub Desktop.
VTSoils MML
{
"bounds": [
-73.6084,
42.6258,
-71.488,
45.1045
],
"center": [
-72.7405,
44.0007,
7
],
"format": "png",
"interactivity": {
"layer": "vtsoils",
"template_teaser": "{{{MUNAME}}}",
"template_full": "<strong>{{{MUSYM}}}</strong><br />\n{{{MUNAME}}}<br />**********<br />\nHydric Soil = {{{HYDRIC}}}<br />\nPrime Agricultural Soil: {{{PRIME}}}<br />\n<img src=\"http://chart.apis.google.com/chart?chf=a,s,000000E6|bg,s,676767&chxs=0,FFFFFF,11.5&chxt=x&chs=220x120&cht=p3&chco=F2F2F2|A69E86|734860&chd=t:{{{sand1}}},{{{silt1}}},{{{clay1}}}&chl=Sand|Silt|Clay&chtt=Soil+Texture+Breakdown&chts=FFFFFF,11.5\" width=\"240\" height=\"120\" alt=\"Soil Texture Breakdown\" /><br />\n<img src=\"http://chart.apis.google.com/chart?chf=a,s,000000E6|bg,s,676767&chxl=0:|0|&chxp=0,0&chxs=0,676767,11.5,0,lt,676767&chxt=y&chs=220x70&cht=ls&chco=FF0000&chd=t:0,{{{SLOPEHIGH}}}&chdlp=b&chg=5,5&chls=1&chm=B,EFEFEF,0,0,0&chtt=Approximate+Slope&chts=FFFFFF,11.5\" width=\"240\" height=\"70\" alt=\"Maximum Slope\" />\n",
"fields": [
"MUSYM",
"MUNAME",
"HYDRIC",
"PRIME",
"sand1",
"silt1",
"clay1",
"SLOPEHIGH"
]
},
"minzoom": 7,
"maxzoom": 12,
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"Stylesheet": [
"style.mss"
],
"Layer": [
{
"id": "countries",
"name": "countries",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"geometry": "polygon",
"Datasource": {
"file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-admin-0-countries.zip",
"type": "shape"
}
},
{
"geometry": "polygon",
"id": "vtsoils",
"class": "poly",
"Datasource": {
"file": "\\Users\\William Morris\\Dropbox\\Consulting\\VTBedrock\\vtsoils\\vtsoils_wm.shp",
"id": "vtsoils",
"project": "vtsoils",
"srs": null
},
"srs-name": "900913",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"name": "vtsoils"
}
],
"name": "Vermont Soils Map",
"description": "",
"attribution": "",
"legend": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment