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

   Thanks you for the clarification. I tried the following to reproduce the 
error:
   
   ```
   cd examples/openstreetmap
   ```
   
   Started a postgis docker image (this image is optimized for the new macOS 
processors):
   
   ```
   docker run \
     --name baremaps \
     --publish 5432:5432 \
     -e POSTGRES_DB=baremaps \
     -e POSTGRES_USER=baremaps \
     -e POSTGRES_PASSWORD=baremaps \
     -d ghcr.io/baosystems/postgis:latest
   ```
   
   Executed the workflow:
   
   ```
   baremaps workflow execute --file workflow.json
   
   [INFO ] 2023-01-29 13:20:18.465 [main] Execute - Executing the workflow 
workflow.json
   [INFO ] 2023-01-29 13:20:18.599 [pool-2-thread-1] DownloadUrl - Downloading 
https://download.geofabrik.de/europe/liechtenstein-latest.osm.pbf to 
liechtenstein-latest.osm.pbf
   [INFO ] 2023-01-29 13:20:18.942 [pool-2-thread-1] DownloadUrl - Skipping 
download of https://download.geofabrik.de/europe/liechtenstein-latest.osm.pbf 
to liechtenstein-latest.osm.pbf
   [INFO ] 2023-01-29 13:20:18.942 [pool-2-thread-2] ImportOpenStreetMap - 
Importing liechtenstein-latest.osm.pbf into 
jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps
   [INFO ] 2023-01-29 13:20:18.947 [pool-2-thread-2] HikariDataSource - 
HikariPool-1 - Starting...
   [INFO ] 2023-01-29 13:20:19.052 [pool-2-thread-2] HikariPool - HikariPool-1 
- Added connection org.postgresql.jdbc.PgConnection@27e129cf
   [INFO ] 2023-01-29 13:20:19.052 [pool-2-thread-2] HikariDataSource - 
HikariPool-1 - Start completed.
   [INFO ] 2023-01-29 13:20:21.563 [pool-2-thread-2] ImportOpenStreetMap - 
Finished importing liechtenstein-latest.osm.pbf into 
jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps
   [INFO ] 2023-01-29 13:20:21.563 [pool-2-thread-3] ExecuteSql - Executing 
indexes.sql
   [INFO ] 2023-01-29 13:20:22.424 [pool-2-thread-3] ExecuteSql - Finished 
executing indexes.sql
   [INFO ] 2023-01-29 13:20:22.425 [main] Execute - Finished executing the 
workflow workflow.json
   ```
   
   Started the server:
   
   ```
   baremaps map dev \
     --database 
'jdbc:postgresql://localhost:5432/baremaps?user=baremaps&password=baremaps' \
     --tileset 'tileset.json' \
     --style 'style.json'
     --database 
'jdbc:postgresql://localhost:5432/baremaps?user=baremaps&password=baremaps' \
     --tileset 'tileset.json' \
     --style 'style.json'
   
   [INFO ] 2023-01-29 13:20:28.178 [main] HikariDataSource - HikariPool-1 - 
Starting...
   [INFO ] 2023-01-29 13:20:28.319 [main] HikariPool - HikariPool-1 - Added 
connection org.postgresql.jdbc.PgConnection@615f972
   [INFO ] 2023-01-29 13:20:28.320 [main] HikariDataSource - HikariPool-1 - 
Start completed.
   [INFO ] 2023-01-29 13:20:29.015 [main] Dev - Listening on 
/[0:0:0:0:0:0:0:0%0]:9000
   ```
   
   Displayed the result in the browser: 
   
   ![Screenshot 2023-01-29 at 13 22 
39](https://user-images.githubusercontent.com/238747/215326418-f88f4af0-b9cd-4da6-afb1-4f08489efb81.png)
   
   ![Screenshot 2023-01-29 at 13 22 
32](https://user-images.githubusercontent.com/238747/215326407-d44efd72-5777-4675-9a00-46d47a8c74a7.png)
   
   
   I guess we must have some issues in the documentation, but I havn't been 
able to spot them. Could you check these steps and let me know I they are 
reproducible! It would also be great if take this as an opportunity to improve 
the documentation.


-- 
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]

Reply via email to