Skip to content

Instantly share code, notes, and snippets.

@tucotuco
Created May 17, 2011 00:29
Show Gist options
  • Save tucotuco/975652 to your computer and use it in GitHub Desktop.
Save tucotuco/975652 to your computer and use it in GitHub Desktop.
Second pass at collections metadata JSON from Dan and Tuco
{
"collection":{
"source":"World Wildlife Fund (WWF)",
"type":"Ecoregion",
"name":"World Ecoregions",
"description":"The WWF's Conservation Science Program (CSP) has developed a biogeographic regionalization of the Earth's terrestrial biodiversity. WWF termed the biogeographic units ecoregions, defined as relatively large units of land or water containing distinct assemblages of natural communities sharing a large majority of species, dynamics, and environmental conditions. Ecoregions represent the original distribution of distinct assemblages of species and communities.",
"url":"http://www.worldwildlife.org/science/ecoregions/item1267.html",
"agreements":{
"0":"http://www.worldwildlife.org/agreement.html"
},
"allowed_uses":{
"visualization":{
"0":"no",
"1":"yes"
},
"download":{
"0":"no",
"1":"yes"
},
"references":{
"0":{
"authors":"Olson, D.M.; Dinerstein, E.; Wikramanayake, E.; Burgess, N.; Powell, G.; Underwood, E. C.; D'Amico, J.; Itoua, I.; Strand, H.; Morrison, J.; Loucks, C.; Allnutt, T.; Ricketts, T.H.; Kura, Y.; Wettengel, W.; Kassem,K.",
"year":2001,
"publication":"BioScience, Volume 51, Issue 11, p.933-938",
"title":"Terrestrial ecoregions of the world: a new map of life on earth"
}
},
"storage":{
"location":"G:/MoL/....",
"format":"ascii_grid"
},
"spatial":{
"crs":{
"epsg":6166,
"datum":{
"epsg":4132,
"name":"WGS84"
},
"projection":{
"epsg":7132,
"name":"Mercator"
},
"extent":{
"text":"Global",
"coordinates":{
"southEast":{
"latitude":-90.0,
"longitude":180.0
},
"northWest":{
"latitude":90.0,
"longitude":-180.0
}
}
}
},
"type":{
"grid":{
"resolution":{
"value":1,
"unit":"degree"
},
"item_is_a":"single species range map",
"variable":{
"name":"species occurrence",
"type":"boolean"
}
},
"polygon":{
"reliable_resolution":{
"value":1,
"unit":"degree"
},
"variables":[
{
"occurrence_type":{
"1":"present",
"0":"absent"
},
"type":"Integer_categorical"
},
{
"seasonality":{
"1":"resident",
"2":"breeding season",
"3":"non-breeding season",
"4":"passage",
"5":"Seasonal occurrence uncertain"
},
"type":"Integer_categorical"
}
]
},
"point":{
"variables":[
{
"taxon name":"Ctenomys sociabilis",
"type":"text"
},
{
"uncertainty":30,
"type":"continuous"
},
{
"occurrence_type":{
"1":"present",
"0":"absent"
},
"type":"Integer_categorical"
}
]
}
}
}
}
}
}
@tucotuco
Copy link
Author

Assumption: one type (grid, point, polygon) per collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment