You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sis.apache.org by "Johann Sorel (Jira)" <ji...@apache.org> on 2023/01/19 08:36:00 UTC

[jira] [Commented] (SIS-571) Add a DataStores.createNew(String, Object) convenience method

    [ https://issues.apache.org/jira/browse/SIS-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678560#comment-17678560 ] 

Johann Sorel commented on SIS-571:
----------------------------------

In what way is this modification going to change the DataStoreProvider API ?

> Add a DataStores.createNew(String, Object) convenience method
> -------------------------------------------------------------
>
>                 Key: SIS-571
>                 URL: https://issues.apache.org/jira/browse/SIS-571
>             Project: Spatial Information Systems
>          Issue Type: Task
>          Components: Storage
>    Affects Versions: 1.3
>            Reporter: Martin Desruisseaux
>            Priority: Major
>             Fix For: 1.4
>
>
> SIS has some write capability, but it is currently not easy to open a {{DataStore}} in write mode. We propose to add the following convenience method in {{DataStores}}:
> {code:java}
> public static DataStore openWritable(Object storage, String format);
> {code}
> It would open the specified storage (file, URL, JDBC connection, _etc._) in write mode. The {{format}} argument would be used for selecting a format if the file does not already exist.
> After a convenience method has been added, we should update the "how to" page at https://sis.apache.org/howto/resample_and_save_raster.html.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)