Skip to content

Instantly share code, notes, and snippets.

@timrobertson100
Last active October 31, 2017 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timrobertson100/82450a609d3660d751d5482f373b8153 to your computer and use it in GitHub Desktop.
Save timrobertson100/82450a609d3660d751d5482f373b8153 to your computer and use it in GitHub Desktop.
Lineage example
interpretedOccurrence: {
id: 123,
decimalLatitude: 12.3445,
lineage: [
{
field: decimalLatitude,
source: rawOccurrence,
fields: [verbatimLatitude, verbatimLongitude, decimalLatitude, decimalLongitude, geodeticDatum, country, stateProvince],
services: [
{
name: “GBIF Reverse geocode lookup”,
url: “http://api.gbif.org/v1/geocode/reverse”
},
{
name: “GBIF Country Dictionary”,
url: “http://somelink”
},
],
transformations: [COORDINATE_REPROJECTED, NEGATED],
comments: [
“Country code [US] found through fuzzy matching [UNITTED STATES]”,
“Coordinate reprojected from [EPSG:3575] to [EPSG:4326]”,
“Coordinate country mismatched - longitude presumed negated to align with country code”
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment