Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Driver signature + improvements #1085

Merged
merged 11 commits into from
Jun 8, 2020
Merged

Conversation

ebocher
Copy link
Member

@ebocher ebocher commented Jun 8, 2020

This PR fixes the signature of all drivers.
It adds also support to write gz and zip file and red gz file for the drivers (geojson, osm, tsv, kml, json, csv) .see #1035
It fixes the ascii driver options see #1046
Delete option is also added on write driver. See #1036

@ebocher ebocher requested a review from SPalominos June 8, 2020 09:50
@ebocher
Copy link
Member Author

ebocher commented Jun 8, 2020

Test on postgis added also

h2gis-api/src/main/java/org/h2gis/api/DriverFunction.java Outdated Show resolved Hide resolved
h2gis-api/src/main/java/org/h2gis/api/DriverFunction.java Outdated Show resolved Hide resolved
}
else if(FileUtil.isExtensionWellFormated(fileName, "gz")) {
if(deleteFiles){
Files.deleteIfExists(fileName.toPath());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

}
}else if(FileUtil.isExtensionWellFormated(fileName, "zip")) {
if(deleteFiles){
Files.deleteIfExists(fileName.toPath());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@ebocher ebocher merged commit dfa687b into orbisgis:master Jun 8, 2020
@ebocher ebocher deleted the fix_driver_signature branch November 17, 2021 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants