Closed j3r3m1 closed 6 months ago
@Jukjuk-boop just as you know that the project has been started but still meets some bugs @ebocher if you have any idea
Tested on my side it returns
Caught: org.h2.jdbc.JdbcSQLSyntaxErrorException: Duplication du nom de colonnes "ID_RSU"
Duplicate column name "ID_RSU"; SQL statement:
DROP TABLE IF EXISTS building_rsu2_rsu_join [42121-224]
org.h2.jdbc.JdbcSQLSyntaxErrorException: Duplication du nom de colonnes "ID_RSU"
Duplicate column name "ID_RSU"; SQL statement:
OK solved with an update of the pom (probably some Java dependency troubles...)
I tried to use your groovy script but i'm stuck on an issue :
I'm on windows 10, I installed WSL (windows subsysteme for linux) and SDK. My java version is 21.0.3 and groovy is 4.0.17.
In the Main.groovy script I modified the path as asked :
I must have done something wrong as I'm not used to work with cmd, sdk or other programing tools.
Did you install WSL for a specific purpose ? Because you can directly use your windows machine to run the script. It seems the path you put are "linux-written" while it should be windows. First try replacing your / by \ and if not sufficient you can use the double \ version (\).
I am currently using the last snapshot of geoclimate in an IntelliJ project and I am facing a strange issue.
When I run the code I have developped which call the WorkflowGeoindicator function, I am facing the following issue when the code runs the typeProportion function (https://github.com/orbisgis/geoclimate/blob/68082073e8dbed6f71d9477dbc33ebbc4a76fb9d/geoindicators/src/main/groovy/org/orbisgis/geoclimate/geoindicators/WorkflowGeoIndicators.groovy#L594). The error happen at this line in the function (https://github.com/orbisgis/geoclimate/blob/68082073e8dbed6f71d9477dbc33ebbc4a76fb9d/geoindicators/src/main/groovy/org/orbisgis/geoclimate/geoindicators/GenericIndicators.groovy#L717).
The error log is the following:
Any idea what can be the source of the error ? If I debug and execute the line in an "evaluate expression" field it seems to work properly. Same if I run it in a SQL query within DBeaver and same when I isolate a test for the typeProportion function.
To test the problem, here are: