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

Martin Desruisseaux updated SIS-571:
------------------------------------
    Description: 
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:

https://sis.apache.org/howto/resample_and_save_raster.html

  was:
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.



> 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:
> https://sis.apache.org/howto/resample_and_save_raster.html



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

Reply via email to