sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SIS-186) Set Shapefile as a subclass of DataStore
Date Thu, 18 Dec 2014 04:10:13 GMT

     [ https://issues.apache.org/jira/browse/SIS-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux updated SIS-186:
------------------------------------
    Attachment: ExtendsDataStore.patch

> Set Shapefile as a subclass of DataStore
> ----------------------------------------
>
>                 Key: SIS-186
>                 URL: https://issues.apache.org/jira/browse/SIS-186
>             Project: Spatial Information Systems
>          Issue Type: Sub-task
>          Components: Shapefile
>            Reporter: Martin Desruisseaux
>         Attachments: ExtendsDataStore.patch
>
>
> {{Shapefile}} currently extends {{Object}}. It should extends {{org.apache.sis.storage.DataStore}},
since the later is targeted as the base class of all data readers (currently NetCDF and ISO
19139 metadata).
> The intend of having a base class for all data readers is to allow applications to process
data without knowledge about whether the data are stored in a Shapefile or a NetCDF file.
The SIS command-line tools is an example of such application.
> In the current state of {{DataStore}} class, the main implication is that {{Shapefile}} must
implement the {{getMetadata()}} and {{close()}} methods. A proposed implementation is attached
to this task. Future {{DataStore}} versions will require more methods, but their API is not
yet designed.
> Of course, if the {{DataStore}} API is considered problematic for {{Shapefile}}, we can
revisit it according feedbacks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message