com.frightanic.smn.api.geojson.Crs 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;
import java.util.HashMap;
import java.util.Map;
/**
* Coordinate reference system (CRS) of a GeoJSON object
*/
@Getter
public final class Crs {
private final String type = "name";
private final Map properties = new HashMap<>(1);
public Crs(CrsType crs) {
properties.put("name", crs.getUrn());
}
}