org.heigit.ohsome.ohsomeapi.executor.RequestResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ohsome-api Show documentation
Show all versions of ohsome-api Show documentation
A public Web-RESTful-API for "ohsome" OpenStreetMap history data.
package org.heigit.ohsome.ohsomeapi.executor;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* Enumeration defining the request resource (LENGTH, PERIMETER, AREA, COUNT, GROUPBYTAG,
* GROUPBYKEY, RATIO, DATAEXTRACTION, CONTRIBUTION).
*/
@Getter
@AllArgsConstructor(access = AccessLevel.PACKAGE)
public enum RequestResource {
LENGTH("length", "meters"), PERIMETER("perimeter", "meters"), AREA("area",
"square meters"), COUNT("count", "absolute values"), GROUPBYTAG("", ""), GROUPBYKEY("",
""), RATIO("", ""), DATAEXTRACTION("OSM data as GeoJSON features.",
""), DATAEXTRACTIONFFULLHISTORY("Full-history OSM data as GeoJSON features.",
""), CONTRIBUTIONS("Contributions as GeoJSON features.",
""), CONTRIBUTIONSLATEST("Latest contributions as GeoJSON features.", "");
private final String description;
private final String unit;
}