All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anwiba.spatial.geo.json.v01_0.LineString Maven / Gradle / Ivy

//Copyright (c) 2012 by Andreas W. Bartels
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy