Class GeoIndex
- java.lang.Object
-
- org.aksw.limes.core.measures.mapper.pointsets.GeoIndex
-
public class GeoIndex extends Object
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description GeoIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoIndexadd(GeoIndex geoIndex)Adds the input geoIndex to the current object.voidaddPolygon(Polygon X, int latIndex, int longIndex)Adds a polygon to an indexSet<List<Integer>>getIndexes(Polygon X)GeoSquaregetSquare(int latIndex, int longIndex)Returns the square with the coordinates latIndex, longIndexStringtoString()
-
-
-
Method Detail
-
add
public GeoIndex add(GeoIndex geoIndex)
Adds the input geoIndex to the current object.- Parameters:
geoIndex- , the index- Returns:
- the instance itself
-
addPolygon
public void addPolygon(Polygon X, int latIndex, int longIndex)
Adds a polygon to an index- Parameters:
X- Polygon to addlatIndex- Index according to latitudelongIndex- Index according to longitude
-
getSquare
public GeoSquare getSquare(int latIndex, int longIndex)
Returns the square with the coordinates latIndex, longIndex- Parameters:
latIndex- Latitude of the square to returnlongIndex- Longitude of the same- Returns:
- GeoSquare
-
getIndexes
public Set<List<Integer>> getIndexes(Polygon X)
- Parameters:
X- Polygon whose indexes are required- Returns:
- Set of all indexes for this polygon
-
-