Skip to content

Commit 537a32a

Browse files
author
Ramachandran Nellaiyappan
committed
[feat] #7 geojson data modeling
- GeoJsonType.java added -
1 parent f772e08 commit 537a32a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.github.nramc.dev.journey.api.geojson.types;
2+
3+
import lombok.Getter;
4+
5+
@Getter
6+
public enum GeoJsonType {
7+
POINT("Point"),
8+
MULTI_POINT("MultiPoint"),
9+
LINE_STRING("LineString"),
10+
MULTI_LINE_STRING("MultiLineString"),
11+
POLYGON("Polygon"),
12+
MULTI_POLYGON("MultiPolygon"),
13+
GEOMETRY_COLLECTION("GeometryCollection"),
14+
FEATURE("Feature"),
15+
FEATURE_COLLECTION("FeatureCollection");
16+
17+
private final String type;
18+
19+
GeoJsonType(String type) {
20+
this.type = type;
21+
}
22+
23+
}

0 commit comments

Comments
 (0)