sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [sis] 01/02: NetBeans project configuration and documentation about sis-sqlstore module.
Date Fri, 20 Jul 2018 10:35:19 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository

commit 9b0583f7a3c4f65b877a240230be63adda8b784e
Author: Martin Desruisseaux <>
AuthorDate: Fri Jul 20 11:12:45 2018 +0200

    NetBeans project configuration and documentation about sis-sqlstore module.
 ide-project/NetBeans/nbproject/project.xml                       | 4 ++--
 .../src/main/java/org/apache/sis/storage/sql/   | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ide-project/NetBeans/nbproject/project.xml b/ide-project/NetBeans/nbproject/project.xml
index 6779df9..62f4e27 100644
--- a/ide-project/NetBeans/nbproject/project.xml
+++ b/ide-project/NetBeans/nbproject/project.xml
@@ -32,7 +32,7 @@
                 <root id="src.geotiff.dir" name="GeoTIFF"/>
                 <root id="src.netcdf.dir" name="NetCDF"/>
                 <root id="src.shapefile.dir" name="Shapefile"/>
-                <root id="src.sql.dir" name="SQL"/>
+                <root id="src.sql.dir" name="SQLStore"/>
                 <root id="src.xmlstore.dir" name="XMLStore"/>
                 <root id="" name="Storage"/>
                 <root id="src.feature.dir" name="Feature"/>
@@ -54,7 +54,7 @@
                 <root id="test.geotiff.dir" name="Test GeoTIFF"/>
                 <root id="test.netcdf.dir" name="Test NetCDF"/>
                 <root id="test.shapefile.dir" name="Test Shapefile"/>
-                <root id="test.sql.dir" name="Test SQL"/>
+                <root id="test.sql.dir" name="Test SQLStore"/>
                 <root id="test.xmlstore.dir" name="Test XMLStore"/>
                 <root id="" name="Test Storage"/>
                 <root id="test.feature.dir" name="Test Feature"/>
diff --git a/storage/sis-sqlstore/src/main/java/org/apache/sis/storage/sql/
index 29ce702..12e4f82 100644
--- a/storage/sis-sqlstore/src/main/java/org/apache/sis/storage/sql/
+++ b/storage/sis-sqlstore/src/main/java/org/apache/sis/storage/sql/
@@ -20,12 +20,21 @@
  * Data store capable to read and create features from a JDBC connection to a database.
  * {@link} takes a one or more tables at construction
  * Each enumerated table is represented by a {@link org.opengis.feature.FeatureType}.
+ * Each row in those table represents a {@link org.opengis.feature.Feature} instance.
  * Each relation defined by a foreigner key is represented by an {@link org.opengis.feature.FeatureAssociationRole}
  * to another feature (with transitive dependencies automatically resolved), and the other
columns are represented
  * by {@link org.opengis.feature.AttributeType}.
+ * <p>The storage of spatial features in SQL databases is described by the
+ * <a href="">OGC Simple feature access
- Part 2: SQL option</a>
+ * international standard, also known as ISO 19125-2. Implementation of geometric types and
operations must
+ * be provided by the database (sometime through an extension, for example PostGIS on PostgreSQL
+ * This Java package uses those provided types and operations.</p>
+ *
  * <div class="section">Limitations</div>
  * <ul>
+ *   <li>Current implementation does not scan the {@code "GEOMETRY_COLUMNS"} (from
Simple Feature Access)
+ *       or {@code "gpkg_content"} (from GeoPackage) tables for a default list of feature
  *   <li>Current implementation does not yet map geometric objects (e.g. PostGIS types).</li>
  *   <li>If a parent feature contains association to other features, those other features
are created
  *       in same time than the parent feature (no lazy instantiation yet).</li>

View raw message