com.frightanic.smn.api.geojson.Geometry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of open-data-smn Show documentation
Show all versions of open-data-smn Show documentation
An API to serve publicly available data from the SwissMetNet.
package com.frightanic.smn.api.geojson;
import lombok.Getter;
/**
* Each feature has a 'Point' geometry with coordinates based on the selected CRS.
*/
@Getter
public final class Geometry {
private final String type = "Point";
private final Number[] coordinates;
public Geometry(Number[] coordinates) {
this.coordinates = coordinates;
}
}