Home
last modified time | relevance | path

Searched refs:GeoJsonObject (Results 1 – 11 of 11) sorted by relevance

/external/geojson-jackson/src/test/java/org/geojson/
DGeoJsonObjectVisitorTest.java14 private final GeoJsonObject geoJsonObject;
15 private GeoJsonObjectVisitor<GeoJsonObject> instance = new GeoJsonObjectVisitor<GeoJsonObject>() {
18 public GeoJsonObject visit(GeometryCollection geoJsonObject) {
24 public GeoJsonObject visit(FeatureCollection geoJsonObject) {
30 public GeoJsonObject visit(Point geoJsonObject) {
36 public GeoJsonObject visit(Feature geoJsonObject) {
42 public GeoJsonObject visit(MultiLineString geoJsonObject) {
48 public GeoJsonObject visit(Polygon geoJsonObject) {
54 public GeoJsonObject visit(MultiPolygon geoJsonObject) {
60 public GeoJsonObject visit(MultiPoint geoJsonObject) {
[all …]
/external/geojson-jackson/src/main/java/org/geojson/
DGeometryCollection.java7 public class GeometryCollection extends GeoJsonObject implements Iterable<GeoJsonObject> {
9 private List<GeoJsonObject> geometries = new ArrayList<GeoJsonObject>();
11 public List<GeoJsonObject> getGeometries() { in getGeometries()
15 public void setGeometries(List<GeoJsonObject> geometries) { in setGeometries()
20 public Iterator<GeoJsonObject> iterator() { in iterator()
24 public GeometryCollection add(GeoJsonObject geometry) { in add()
DFeature.java8 public class Feature extends GeoJsonObject {
13 private GeoJsonObject geometry;
33 public GeoJsonObject getGeometry() { in getGeometry()
37 public void setGeometry(GeoJsonObject geometry) { in setGeometry()
DGeoJsonObject.java20 public abstract class GeoJsonObject implements Serializable { class
47 GeoJsonObject that = (GeoJsonObject)o; in equals()
DGeometry.java6 public abstract class Geometry<T> extends GeoJsonObject {
DFeatureCollection.java8 public class FeatureCollection extends GeoJsonObject implements Iterable<Feature> {
DPoint.java3 public class Point extends GeoJsonObject {
/external/geojson-jackson/src/test/java/org/geojson/jackson/
DPointTest.java5 import org.geojson.GeoJsonObject;
45 GeoJsonObject value = mapper in itShouldDeserializeAPoint()
46 .readValue("{\"type\":\"Point\",\"coordinates\":[100.0,5.0]}", GeoJsonObject.class); in itShouldDeserializeAPoint()
55 GeoJsonObject value = mapper.readValue("{\"type\":\"Point\",\"coordinates\":[100.0,5.0,123]}", in itShouldDeserializeAPointWithAltitude()
56 GeoJsonObject.class); in itShouldDeserializeAPointWithAltitude()
70GeoJsonObject value = mapper.readValue("{\"type\":\"Point\",\"coordinates\":[100.0,5.0,123,456,789… in itShouldDeserializeAPointWithAdditionalAttributes()
71 GeoJsonObject.class); in itShouldDeserializeAPointWithAdditionalAttributes()
DCrsTest.java5 import org.geojson.GeoJsonObject;
18 GeoJsonObject value = mapper.readValue("{\"crs\": { \"type\": \"link\", \"properties\": " in itShouldParseCrsWithLink()
20 + "\"type\":\"Point\",\"coordinates\":[100.0,5.0]}", GeoJsonObject.class); in itShouldParseCrsWithLink()
DGeoJsonObjectTest.java4 import org.geojson.GeoJsonObject;
12 private class TestGeoJsonObject extends GeoJsonObject {
/external/geojson-jackson/
DREADME.md18 If you want to read any GeoJson file read the value as GeoJsonObject and then test for the contents…
21 GeoJsonObject object = new ObjectMapper().readValue(inputStream, GeoJsonObject.class);
33 GeoJsonObject object = new ObjectMapper().readValue(inputStream, GeoJsonObject.class);