Package org.apache.sis.internal.storage.csv
package org.apache.sis.internal.storage.csv
DataStore
implementation for Coma Separated Values (CSV) files.
This package implements the following specifications (more may be added in any future version):
- OGC® Moving Features Encoding Extension: Simple Comma Separated Values (CSV) with some rules relaxed. The Apache SIS implementation allows the CSV file to have no date, thus allowing use of OGC 14-084 syntax for static features in addition to moving ones.
- Common Format and MIME Type for Comma-Separated Values (CSV) Files. This is supported indirectly since above OGC specification is an extension of this IETF specification.
Departures from OGC specification
Current implementation is not strictly compliant with the Moving Features specification. Departures are:- Character encoding is not necessarily UTF-8 since a different encoding can be specified with
OptionKey.ENCODING
in theStorageConnector
. If not specified, Apache SIS uses the Java platform default encoding (which is often UTF-8). - The Apache SIS implementation does not replace the XML entities by the referenced characters. XML entities, if present, are included verbatim in the parsed text.
- The Apache SIS implementation does not replace the \\s, \\t, and \\b escape sequences by space, tab, and comma. Those escape sequences are included verbatim in the parsed text.
- Since:
- 0.7
- Version:
- 1.3
-
ClassDescriptionBase implementation of iterators returned by
Store.features(boolean)
.Wraps an array of fixed size.Appearing order of trajectories.The converter to use for converting a text into a geometry.Builder of feature where the geometry is a trajectory and some property values may change with time.A dynamic property value together with the period of time in which this property is valid.An extension of the feature iterator that merge the line segments in a single trajectory.A data store which creates feature instances from a CSV file using the OGC Moving Features specification.The provider ofStore
instances.The object to use for verifying if the first keyword is the expected one.Specifies how time is encoded in the CSV file.