sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
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 https://gitbox.apache.org/repos/asf/sis.git

commit 9b0583f7a3c4f65b877a240230be63adda8b784e
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
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/package-info.java   | 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="src.storage.dir" 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="test.storage.dir" 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/package-info.java
b/storage/sis-sqlstore/src/main/java/org/apache/sis/storage/sql/package-info.java
index 29ce702..12e4f82 100644
--- a/storage/sis-sqlstore/src/main/java/org/apache/sis/storage/sql/package-info.java
+++ b/storage/sis-sqlstore/src/main/java/org/apache/sis/storage/sql/package-info.java
@@ -20,12 +20,21 @@
  * Data store capable to read and create features from a JDBC connection to a database.
  * {@link org.apache.sis.storage.sql.SQLStore} takes a one or more tables at construction
time.
  * 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="http://www.opengeospatial.org/standards/sfs">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
databases).
+ * 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
tables.</li>
  *   <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>


Mime
View raw message