Web Services

Occurrence Sets

The Lifemapper Occurrence Set Service allows users to get an occurrence set, list sets that fit desired criteria, or post a new occurrence set.

Occurrence sets are groups of occurrence points. They are generally all from the same species, but do not have to be. They should, however, be related enough that creating a model would make sense. For example, if you wanted to create a model of prey for a certain species, you could create an occurrence set of all of the points where any of those species occurred.

Get a List of Occurrence Sets

If you call http://svc.lifemapper.org/api/v2/occurrence/json with an HTTP GET request, a list of available occurrence sets will be returned.

The items returned in this list can be filtered using a number of url parameters. A full list of the available filter parameters can be found in the Lifemapper web services Swagger IO documentation. You can make public queries directly from that link to explore the Lifemapper Occurrence Layer Listing service.

One use of this service is to find occurrence sets that have enough points to be modeled. The Lifemapper pipeline will pick occurrence sets with fifty or more points and then model them, but you are free to set your own threshold for the models you request. The filter needed for this operation is named "minimumNumberOfPoints" and for this example we will set it to 500. The resulting url is:

http://svc.lifemapper.org/api/v2/occurrence/json?minimumNumberOfPoints=500 .

Get an Individual Occurrence Set

You will need the occurrence set id number to return an individual occurrence set. You can browse the list of occurrence sets to find the occurrence set you would like, and just copy and paste the link. Alternatively, you can browse the occurrence sets associated with a grid set you may have submitted using that service.

Get an Individual Occurrence Set Method explains in more detail how this service works.

Formats available: