net.anwiba.spatial.geo.json.v01_0.LineString Maven / Gradle / Ivy
//Copyright (c) 2012 by Andreas W. Bartels ([email protected])
package net.anwiba.spatial.geo.json.v01_0;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
public class LineString
extends Geometry
{
private final String type = "LineString";
private double[][] coordinates = null;
@JsonIgnore
public void setType(final String type) {
}
@JsonIgnore
public String getType() {
return this.type;
}
@JsonProperty("coordinates")
public void setCoordinates(final double[][] coordinates) {
this.coordinates = coordinates;
}
@JsonProperty("coordinates")
public double[][] getCoordinates() {
return this.coordinates;
}
}