You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by "bchapuis (via GitHub)" <gi...@apache.org> on 2023/05/22 20:38:06 UTC

[GitHub] [incubator-baremaps] bchapuis commented on issue #656: Importing natural earth generates an error

bchapuis commented on issue #656:
URL: https://github.com/apache/incubator-baremaps/issues/656#issuecomment-1557953146

   @leonardcser When commenting all the steps in the basemap except the one with the "natural-earth" id, I get the following result: 
   
   ```
   baremaps workflow execute --file workflow.js
   [INFO ] 2023-05-22 22:31:59.887 [main] Execute - Executing the workflow workflow.js
   [INFO ] 2023-05-22 22:32:00.409 [main] WorkflowExecutor - Workflow graph: isDirected: true, allowsSelfLoops: false, nodes: [natural-earth], edges: []
   [INFO ] 2023-05-22 22:32:00.416 [pool-2-thread-1] WorkflowExecutor - Executing task DownloadUrl[url=https://naciscdn.org/naturalearth/packages/natural_earth_vector.gpkg.zip, path=data/natural_earth_vector.gpkg.zip, replaceExisting=false] of step natural-earth
   [INFO ] 2023-05-22 22:32:01.211 [pool-2-thread-1] DownloadUrl - Skipping download of https://naciscdn.org/naturalearth/packages/natural_earth_vector.gpkg.zip to data/natural_earth_vector.gpkg.zip
   [INFO ] 2023-05-22 22:32:01.215 [pool-2-thread-2] WorkflowExecutor - Executing task UnzipFile[file=data/natural_earth_vector.gpkg.zip, directory=data/natural_earth_vector] of step natural-earth
   [INFO ] 2023-05-22 22:32:04.424 [pool-2-thread-3] WorkflowExecutor - Executing task ImportGeoPackage[file=data/natural_earth_vector/packages/natural_earth_vector.gpkg, database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps, sourceSRID=4326, targetSRID=3857] of step natural-earth
   [INFO ] 2023-05-22 22:32:04.667 [pool-2-thread-3] HikariDataSource - HikariPool-1 - Starting...
   [INFO ] 2023-05-22 22:32:04.773 [pool-2-thread-3] HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@48d08ad5
   [INFO ] 2023-05-22 22:32:04.774 [pool-2-thread-3] HikariDataSource - HikariPool-1 - Start completed.
   [INFO ] 2023-05-22 22:32:50.598 [pool-2-thread-4] WorkflowExecutor - Executing task ExecuteSql[database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps, file=queries/ne_index.sql, parallel=true] of step natural-earth
   [INFO ] 2023-05-22 22:32:51.056 [pool-2-thread-4] WorkflowExecutor - ----------------------------------------
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor - Workflow graph: isDirected: true, allowsSelfLoops: false, nodes: [natural-earth], edges: []
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor -   Duration: 50 s 639 ms
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor - Step: natural-earth, Duration: 50 s 639 ms  ms
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor -   Task: DownloadUrl[url=https://naciscdn.org/naturalearth/packages/natural_earth_vector.gpkg.zip, path=data/natural_earth_vector.gpkg.zip, replaceExisting=false]
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor -     Duration: 795 ms
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor -   Task: UnzipFile[file=data/natural_earth_vector.gpkg.zip, directory=data/natural_earth_vector]
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor -     Duration: 3 s 207 ms
   [INFO ] 2023-05-22 22:32:51.060 [pool-2-thread-4] WorkflowExecutor -   Task: ImportGeoPackage[file=data/natural_earth_vector/packages/natural_earth_vector.gpkg, database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps, sourceSRID=4326, targetSRID=3857]
   [INFO ] 2023-05-22 22:32:51.061 [pool-2-thread-4] WorkflowExecutor -     Duration: 46 s 173 ms
   [INFO ] 2023-05-22 22:32:51.061 [pool-2-thread-4] WorkflowExecutor -   Task: ExecuteSql[database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps, file=queries/ne_index.sql, parallel=true]
   [INFO ] 2023-05-22 22:32:51.061 [pool-2-thread-4] WorkflowExecutor -     Duration: 457 ms
   [INFO ] 2023-05-22 22:32:51.061 [pool-2-thread-4] WorkflowExecutor - ----------------------------------------
   [INFO ] 2023-05-22 22:32:51.061 [main] Execute - Finished executing the workflow workflow.js
   ```
   
   Additionnaly, the ne_10m_admin_0_antarctic_claims table seems to contain data.
   
   Is this issue happening on your mac with the latest version? Could you try to provide more information?


-- 
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: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org