Interface GeoJson<T extends Iterable<?>>
- All Known Implementing Classes:
GeoJsonGeometryCollection
,GeoJsonLineString
,GeoJsonMultiLineString
,GeoJsonMultiPoint
,GeoJsonMultiPolygon
,GeoJsonPoint
,GeoJsonPolygon
public interface GeoJson<T extends Iterable<?>>
Interface definition for structures defined in GeoJSON format.
- Since:
- 1.7
- Author:
- Christoph Strobl
-
Method Summary
-
Method Details
-
getType
String getType()String value representing the type of theGeoJson
object.- Returns:
- will never be null.
- See Also:
-
getCoordinates
T getCoordinates()The value of the coordinates member is always anIterable
. The structure for the elements within is determined bygetType()
of geometry.- Returns:
- will never be null.
- See Also:
-