Skip to content

Test ST_ClustersTest Failed #1484

Description

@nathan-marie

The error message is :

[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.129 s <<< FAILURE! -- in org.h2gis.functions.spatial.clusters.ST_ClustersTest
[ERROR] org.h2gis.functions.spatial.clusters.ST_ClustersTest.st_clusterDBSCAN1 -- Time elapsed: 0.006 s <<< ERROR!
org.h2.jdbc.JdbcSQLSyntaxErrorException: 
Méthode "ST_DWITHIN (org.h2gis.functions.spatial.predicates.ST_DWithin, parameter count: 4)" non trouvée
Method "ST_DWITHIN (org.h2gis.functions.spatial.predicates.ST_DWithin, parameter count: 4)" not found; SQL statement:
CREATE CACHED LOCAL TEMPORARY TABLE tmp_pairs AS SELECT a.id AS id_a, b.id AS id_b FROM SAMPLE_POINTS a, SAMPLE_POINTS b WHERE a.id < b.id AND ST_EXPAND(a.the_geom, 50,000000) && b.the_geom AND ST_DWithin(a.the_geom, b.the_geom, 50,000000) [90087-240]

The error come from the fact that 50,000000 is written with a comma, not with a dot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions