Skip to content

Commit

Permalink
Allows the Geometry Type and Feature ID to be read
Browse files Browse the repository at this point in the history
  • Loading branch information
george112n committed Aug 1, 2023
1 parent affdea9 commit e78bfef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.bteuk</groupId>
<artifactId>ProgressMapperBackEnd</artifactId>
<version>1.0.0-prealpha</version>
<version>1.0.1</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ public Geometry getGeometry()
return geometry;
}

public long getID()
{
return id;
}

public Feature(Geometry geometry, Properties properties)
{
this.type = "Feature";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@

public class Geometry
{
GeometryType type;
final GeometryType type;
public double[][] coordinates;

public Geometry(GeometryType type)
{
this.type = type;
}

public GeometryType getType()
{
return type;
}
}

0 comments on commit e78bfef

Please sign in to comment.