leonardcser opened a new issue, #795:
URL: https://github.com/apache/incubator-baremaps/issues/795
Building the basemap with the the following osm pbf, produces the error
below:
### Config
```json
{
"osmPbfUrl":
"https://download.geofabrik.de/europe/france/ile-de-france-latest.osm.pbf",
}
```
### Stacktrace
```
[INFO ] 2023-10-28 14:41:49.168 [pool-2-thread-8] WorkflowExecutor -
Executing task
ExecuteSql[database=jdbc:postgresql://localhost:5432/baremaps?&user=bertil,
file=layers/ocean/prepare.sql, parallel=false] of step openstreetmap-ocean
[INFO ] 2023-10-28 14:42:04.928 [pool-2-thread-8] WorkflowExecutor -
Executing task
ExecuteSql[database=jdbc:postgresql://localhost:5432/baremaps?&user=bertil,
file=layers/ocean/index.sql, parallel=false] of step openstreetmap-ocean
java.util.concurrent.ExecutionException:
org.apache.baremaps.workflow.WorkflowException:
org.apache.baremaps.workflow.WorkflowException:
org.postgresql.util.PSQLException: ERROR: GEOSTopologyPreserveSimplify:
IllegalArgumentException: CGAlgorithmsDD::orientationIndex encountered NaN/Inf
numbers
Where: parallel worker
at
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at org.apache.baremaps.cli.workflow.Execute.call(Execute.java:53)
at org.apache.baremaps.cli.workflow.Execute.call(Execute.java:34)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at
picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at
picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at org.apache.baremaps.cli.Baremaps.main(Baremaps.java:66)
Caused by: org.apache.baremaps.workflow.WorkflowException:
org.apache.baremaps.workflow.WorkflowException:
org.postgresql.util.PSQLException: ERROR: GEOSTopologyPreserveSimplify:
IllegalArgumentException: CGAlgorithmsDD::orientationIndex encountered NaN/Inf
numbers
Where: parallel worker
at
org.apache.baremaps.workflow.WorkflowExecutor.lambda$createFutureStep$3(WorkflowExecutor.java:167)
at
java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
at
java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1623)
Caused by: org.apache.baremaps.workflow.WorkflowException:
org.postgresql.util.PSQLException: ERROR: GEOSTopologyPreserveSimplify:
IllegalArgumentException: CGAlgorithmsDD::orientationIndex encountered NaN/Inf
numbers
Where: parallel worker
at
org.apache.baremaps.workflow.tasks.ExecuteSql.lambda$execute$0(ExecuteSql.java:46)
at
java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1006)
at
java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at
org.apache.baremaps.workflow.tasks.ExecuteSql.execute(ExecuteSql.java:39)
at
org.apache.baremaps.workflow.WorkflowExecutor.lambda$createFutureStep$3(WorkflowExecutor.java:162)
... 5 more
Caused by: org.postgresql.util.PSQLException: ERROR:
GEOSTopologyPreserveSimplify: IllegalArgumentException:
CGAlgorithmsDD::orientationIndex encountered NaN/Inf numbers
Where: parallel worker
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2401)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:368)
at
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:498)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:415)
at
org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:335)
at
org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:321)
at
org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:297)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:292)
at
com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at
com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at
org.apache.baremaps.workflow.tasks.ExecuteSql.lambda$execute$0(ExecuteSql.java:44)
... 9 more
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]