Skip to content

Commit

Permalink
[feat] #7 geojson data modeling
Browse files Browse the repository at this point in the history
 - GeoJsonType.java added

 -
  • Loading branch information
Ramachandran Nellaiyappan committed Mar 14, 2024
1 parent f772e08 commit 537a32a
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.github.nramc.dev.journey.api.geojson.types;

import lombok.Getter;

@Getter
public enum GeoJsonType {
POINT("Point"),
MULTI_POINT("MultiPoint"),
LINE_STRING("LineString"),
MULTI_LINE_STRING("MultiLineString"),
POLYGON("Polygon"),
MULTI_POLYGON("MultiPolygon"),
GEOMETRY_COLLECTION("GeometryCollection"),
FEATURE("Feature"),
FEATURE_COLLECTION("FeatureCollection");

private final String type;

GeoJsonType(String type) {
this.type = type;
}

}

0 comments on commit 537a32a

Please sign in to comment.