sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Commented] (SIS-179) Extract Database class from Shapefile class to allow reading DBF without shapefile
Date Tue, 07 Oct 2014 01:43:34 GMT


Martin Desruisseaux commented on SIS-179:

Maybe {{}} is a too generic package name for a code which is
specific to the DBF3 format? Some alternatives may be:

* Keep {{Database}} and related classes in {{}} for now, if
possible as package-privated classes.
* Or alternatively, but them in a {{}} package. Note the
{{internal}} in the package name - those packages are hidden from public API. The reason for
that is that JDBC drivers usually expose only their API through JDBC interfaces, and try to
hide their internal mechanic from the user as much as possible.

Note that the {{sis-shapefile}} module has significant dependencies, like {{sis-referencing}}
(to be needed for parsing {{.prj}} files). The weight of those dependencies may discourage
some peoples to use {{sis-shapefile}} for reading plain DBF3 files. Maybe some users would
be more interested in having a copy of the code for the DBF3-only part in a separated, lightweight
project. However having the DBF3-only part in a separated package may make such separation

P.S.: If possible, I would like to get ride of {{CodePage}} class since I think it duplicates

> Extract Database class from Shapefile class to allow reading DBF without shapefile
> ----------------------------------------------------------------------------------
>                 Key: SIS-179
>                 URL:
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Features, Storage
>    Affects Versions: 0.5
>            Reporter: M. Le Bihan
>            Priority: Minor
>         Attachments:,,,,
> Extracting the DBF binary reader from th Shapefile class to a Database class allows the
loading of a DBF file when it is not accompanied with a shapefile.

This message was sent by Atlassian JIRA

View raw message