OsmData.java 962 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package de.hft.stuttgart.citygml.green.osm;

import java.util.ArrayList;
import java.util.List;

import org.locationtech.jts.geom.Polygon;

public class OsmData {
	
	private Polygon boundingBox;
	
	private List<TreePoint> treePoints = new ArrayList<>();
	private List<GreenArea> greenAreas = new ArrayList<>();
	private List<TreeRow> treeRows = new ArrayList<>();
	private List<Waterway> waterways = new ArrayList<>();
	private List<WaterArea> waterAreas = new ArrayList<>();
	
	public void setBoundingBox(Polygon boundingBox) {
		this.boundingBox = boundingBox;
	}
	
	public List<WaterArea> getWaterAreas() {
		return waterAreas;
	}
	
	public List<Waterway> getWaterways() {
		return waterways;
	}
	
	public Polygon getBoundingBox() {
		return boundingBox;
	}
	
	public List<GreenArea> getGreenAreas() {
		return greenAreas;
	}
	
	public List<TreePoint> getTreePoints() {
		return treePoints;
	}

	public List<TreeRow> getTreeRows() {
		return treeRows;
	}
	
}