Skip to content

Commit 7291d08

Browse files
committed
6.6.5 release
1 parent 6ac07d7 commit 7291d08

File tree

6 files changed

+25
-8
lines changed

6 files changed

+25
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Adheres to [Semantic Versioning](http://semver.org/).
44

55
---
66

7-
## 6.6.5 (TBD)
7+
## [6.6.5](https://github.com/ngageoint/geopackage-core-java/releases/tag/6.6.5) (11-29-2023)
88

9-
* TBD
9+
* Geometry column generic type of BLOB support as base geometry
1010

1111
## [6.6.4](https://github.com/ngageoint/geopackage-core-java/releases/tag/6.6.4) (09-25-2023)
1212

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ The [GeoPackage Java](https://github.com/ngageoint/geopackage-java) library is a
3737

3838
### Installation ###
3939

40-
Pull from the [Maven Central Repository](http://search.maven.org/#artifactdetails|mil.nga.geopackage|geopackage-core|6.6.4|jar) (JAR, POM, Source, Javadoc)
40+
Pull from the [Maven Central Repository](http://search.maven.org/#artifactdetails|mil.nga.geopackage|geopackage-core|6.6.5|jar) (JAR, POM, Source, Javadoc)
4141

4242
<dependency>
4343
<groupId>mil.nga.geopackage</groupId>
4444
<artifactId>geopackage-core</artifactId>
45-
<version>6.6.4</version>
45+
<version>6.6.5</version>
4646
</dependency>
4747

4848
### Build ###

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2 class="project-tagline">by the National Geospatial-Intelligence Agency</h2>
1818
<a href="http://ngageoint.github.io/geopackage-core-java/docs/api/" class="btn">API</a>
1919
<a href="https://github.com/ngageoint/geopackage-core-java/zipball/master" class="btn">.zip</a>
2020
<a href="https://github.com/ngageoint/geopackage-core-java/tarball/master" class="btn">.tar.gz</a>
21-
<a href="http://search.maven.org/#artifactdetails|mil.nga.geopackage|geopackage-core|6.6.4|jar" class="btn">The Central Repository</a>
21+
<a href="http://search.maven.org/#artifactdetails|mil.nga.geopackage|geopackage-core|6.6.5|jar" class="btn">The Central Repository</a>
2222
</section>
2323

2424
<section class="main-content">

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<plugin>
100100
<groupId>org.apache.maven.plugins</groupId>
101101
<artifactId>maven-javadoc-plugin</artifactId>
102-
<version>3.5.0</version>
102+
<version>3.6.2</version>
103103
<configuration>
104104
<links>
105105
<link>https://ngageoint.github.io/projections-java/docs/api/</link>

src/main/java/mil/nga/geopackage/features/user/FeatureColumn.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class FeatureColumn extends UserColumn {
1717
/**
1818
* Geometry type if a geometry column
1919
*/
20-
private final GeometryType geometryType;
20+
private GeometryType geometryType;
2121

2222
/**
2323
* Create a new primary key column
@@ -447,6 +447,16 @@ public FeatureColumn(FeatureColumn featureColumn) {
447447
this.geometryType = featureColumn.geometryType;
448448
}
449449

450+
/**
451+
* Set the geometry type
452+
*
453+
* @param geometryType
454+
* geometry type
455+
*/
456+
protected void setGeometryType(GeometryType geometryType) {
457+
this.geometryType = geometryType;
458+
}
459+
450460
/**
451461
* Copy the column
452462
*

src/main/java/mil/nga/geopackage/features/user/FeatureTableReader.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import mil.nga.geopackage.db.table.TableColumn;
66
import mil.nga.geopackage.features.columns.GeometryColumns;
77
import mil.nga.geopackage.user.UserTableReader;
8+
import mil.nga.sf.GeometryType;
89

910
/**
1011
* Reads the metadata from an existing feature table
@@ -59,7 +60,13 @@ public FeatureTableReader(String tableName) {
5960
@Override
6061
protected FeatureTable createTable(String tableName,
6162
List<FeatureColumn> columnList) {
62-
return new FeatureTable(tableName, columnName, columnList);
63+
FeatureTable table = new FeatureTable(tableName, columnName,
64+
columnList);
65+
FeatureColumn geometryColumn = table.getGeometryColumn();
66+
if (geometryColumn != null && !geometryColumn.isGeometry()) {
67+
geometryColumn.setGeometryType(GeometryType.GEOMETRY);
68+
}
69+
return table;
6370
}
6471

6572
/**

0 commit comments

Comments
 (0)