Skip to content

Instantly share code, notes, and snippets.

@eightysteele
Created November 10, 2011 17:42
Show Gist options
  • Select an option

  • Save eightysteele/1355540 to your computer and use it in GitHub Desktop.

Select an option

Save eightysteele/1355540 to your computer and use it in GitHub Desktop.
MOL search JSON response for 'Camelus'
{
"layers":{
"0":{
"name":"Perdix concolor",
"source":"aaron",
"type":"ecoregion"
},
"1":{
"name":"Perdix hodgsoniae",
"source":"cody",
"type":"range"
},
"2":{
"name":"Perdix concolor",
"source":"andrew",
"type":"protectedarea"
},
"3":{
"name":"Perdix perdix",
"source":"cody",
"type":"range"
},
"4":{
"name":"Perdix dauurica",
"source":"cody",
"type":"range"
}
},
"names":{
"Perdix concolor":{
"layers":[
"0",
"2"
],
"sources":[
"aaron",
"andrew"
],
"types":[
"ecoregion",
"protectedarea"
]
},
"Perdix hodgsoniae":{
"layers":[
"1"
],
"sources":[
"cody"
],
"types":[
"range"
]
},
"Perdix perdix":{
"layers":[
"3"
],
"sources":[
"cody"
],
"types":[
"range"
]
},
"Perdix dauurica":{
"layers":[
"4"
],
"sources":[
"cody"
],
"types":[
"range"
]
}
},
"sources":{
"aaron":{
"layers":[
"0"
],
"names":[
"Perdix concolor"
],
"types":[
"ecoregion"
]
},
"cody":{
"layers":[
"1",
"3",
"4"
],
"names":[
"Perdix hodgsoniae",
"Perdix perdix",
"Perdix dauurica"
],
"types":[
"range"
]
},
"andrew":{
"layers":[
"2"
],
"names":[
"Perdix concolor"
],
"types":[
"protectedarea"
]
}
},
"types":{
"ecoregion":{
"layers":[
"0"
],
"sources":[
"aaron"
],
"names":[
"Perdix concolor"
]
},
"range":{
"layers":[
"1",
"3",
"4"
],
"sources":[
"cody"
],
"names":[
"Perdix hodgsoniae",
"Perdix perdix",
"Perdix dauurica"
]
},
"protectedarea":{
"layers":[
"2"
],
"sources":[
"andrew"
],
"names":[
"Perdix concolor"
]
}
}
}
{
"time":0.063,
"total_rows":5,
"rows":[
{
"name":"Perdix concolor",
"type":"ecoregion",
"source":"aaron"
},
{
"name":"Perdix hodgsoniae",
"type":"range",
"source":"cody"
},
{
"name":"Perdix concolor",
"type":"protectedarea",
"source":"andrew"
},
{
"name":"Perdix perdix",
"type":"range",
"source":"cody"
},
{
"name":"Perdix dauurica",
"type":"range",
"source":"cody"
}
]
}
{
"layers":{
"0":{
"info":{
"extentNorthWest":"59.666250466,-135.365310669",
"proj":"EPSG:900913",
"extentSouthEast":"-53.106193543,-34.790122986"
},
"name":"Struthio camelus",
"key_name":"range/jetz/animalia/species/struthio_camelus",
"source":"Jetz",
"name2":"Jetz Test Range Map",
"type":"range"
},
"1":{
"info":null,
"name":"Camelus",
"key_name":"points/gbif/2441236",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"2":{
"info":null,
"name":"Camelus",
"key_name":"points/gbif/5846755",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"3":{
"info":null,
"name":"Camelus arabicus",
"key_name":"points/gbif/4835765",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"4":{
"info":null,
"name":"Camelus bactrianus",
"key_name":"points/gbif/2441238",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"5":{
"info":null,
"name":"Camelus bactrianus bactrianus",
"key_name":"points/gbif/4262436",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"6":{
"info":null,
"name":"Camelus bactrianus ferus",
"key_name":"points/gbif/4262437",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"7":{
"info":null,
"name":"Camelus dromedarius",
"key_name":"points/gbif/2441237",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"8":{
"info":null,
"name":"Camelus ferus",
"key_name":"points/gbif/5787133",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"9":{
"info":null,
"name":"Camelus glama",
"key_name":"points/gbif/5846733",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
},
"10":{
"info":null,
"name":"Camelus vicugna",
"key_name":"points/gbif/5846751",
"source":"GBIF",
"name2":"GBIF Points",
"type":"points"
}
},
"query":{
"term":"camelus",
"limit":500,
"offset":0
},
"names":{
"Camelus dromedarius":{
"layers":[
7
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus bactrianus ferus":{
"layers":[
6
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus arabicus":{
"layers":[
3
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus bactrianus":{
"layers":[
4
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus":{
"layers":[
1,
2
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus bactrianus bactrianus":{
"layers":[
5
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus vicugna":{
"layers":[
10
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Struthio camelus":{
"layers":[
0
],
"sources":[
"Jetz"
],
"types":[
"range"
]
},
"Camelus glama":{
"layers":[
9
],
"sources":[
"GBIF"
],
"types":[
"points"
]
},
"Camelus ferus":{
"layers":[
8
],
"sources":[
"GBIF"
],
"types":[
"points"
]
}
},
"types":{
"range":{
"layers":[
0
],
"sources":[
"Jetz"
],
"names":[
"Struthio camelus"
]
},
"points":{
"layers":[
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"sources":[
"GBIF"
],
"names":[
"Camelus",
"Camelus arabicus",
"Camelus bactrianus",
"Camelus bactrianus bactrianus",
"Camelus bactrianus ferus",
"Camelus dromedarius",
"Camelus ferus",
"Camelus glama",
"Camelus vicugna"
]
}
},
"sources":{
"Jetz":{
"layers":[
0
],
"names":[
"Struthio camelus"
],
"types":[
"range"
]
},
"GBIF":{
"layers":[
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"names":[
"Camelus",
"Camelus arabicus",
"Camelus bactrianus",
"Camelus bactrianus bactrianus",
"Camelus bactrianus ferus",
"Camelus dromedarius",
"Camelus ferus",
"Camelus glama",
"Camelus vicugna"
],
"types":[
"points"
]
}
}
}
{
"layers":{
},
"query":{
"term":"zzzzz",
"limit":500,
"offset":0
},
"names":{
},
"types":{
},
"sources":{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment