Open ebocher opened 4 years ago
@SPalominos @ebocher Some updates are needed in the code since there is some small errors:
Exception lors de l'appel de la fonction définie par l'utilisateur: "importTable(conn16: url=jdbc:default:connection user=SA, /home/gpetit/GoT.tsv, TRUE): null" Exception calling user-defined function: "importTable(conn16: url=jdbc:default:connection user=SA, /home/gpetit/GoT.tsv, TRUE): null"; SQL statement: CALL TSVRead('/home/gpetit/GoT.tsv', true) [90105-200] 90105/90105 (Aide))
@SPalominos @ebocher Some updates are needed in the code since there is some small errors:
- [ ] CSVRead : "path, deleteTable" does not work
- [x] GeoJSONRead : "path, deleteTable" does not work
- [ ] GeoJSONWrite : in any case (path, OutputFileName / path, OutputFileName, delete=true / path, OutputFileName, delete=false) the OutputFileName is replaced if it already exists
I'm on it.
By default all write driver delete the output file Try CALL shpwrite('/tmp/data.shp', 'data'); CALL shpwrite('/tmp/data.shp', 'data'); This behaviour must be changed to return an error when the file already exist
Ok so if
deleteTable
not specified, then check if the table exists and if yes warn a messagedeleteTable
specified, then remove or not the existing file, depending on this parameter (true or false)Done here #1120
[ ] ST_ConcaveHull
[ ] ST_Graph
[ ] ST_ForcePolygonCCW
[ ] ST_ForcePolygonCW
Drivers functions