use of org.apache.abdera.ext.geo.Coordinates in project ddf by codice.
the class LineString method getLineStringCoordinates.
protected Coordinates getLineStringCoordinates(Geometry geometry) {
Coordinates coordinates = new Coordinates();
for (int i = 0; i < geometry.getCoordinates().length; i++) {
Coordinate coordinate = geometry.getCoordinates()[i];
coordinates.add(convert(coordinate));
}
return coordinates;
}
Aggregations