You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by GitBox <gi...@apache.org> on 2022/11/16 14:57:44 UTC

[GitHub] [incubator-baremaps] Weltstaat commented on issue #538: baremaps map export fails

Weltstaat commented on issue #538:
URL: https://github.com/apache/incubator-baremaps/issues/538#issuecomment-1317154358

   Hi bchapuis,
   
   thanks for the reply. Yes, it was a stupid syntax error. 
   
   However now, I'm getting a different error message. I simplified the tileset.json as much as possible:
   
   ```
   {
     "tilejson": "2.2.0",
     "center": [
       15.9234124,
       28.6031286,
       8.0
     ],
     "bounds": [
       18.3840463,
       29.9738913,
       13.2001493,
       27.0776233
     ],
     "minzoom": 8.0,
     "maxzoom": 22.0,
     "vector_layers": [
       {
         "id": "roads",
         "queries": [
           {
             "minzoom": 9,
             "maxzoom": 10,
             "sql": "SELECT roadcode::text, shape::geometry FROM Z9_roads_l WHERE tags ? 'roadcode'"
           },
           {
             "minzoom": 8,
             "maxzoom": 9,
             "sql": "SELECT roadcode::text, shape::geometry FROM Z8_roads_l WHERE tags ? 'roadcode'"
           }
         ]
       }
     ]
   }
   ```
   
   This gives me the errors:
   
   ```
   com.baremaps.workflow.WorkflowException: java.lang.RuntimeException: java.lang.RuntimeException: An error occurred while creating the tiles
   &
   Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An error occurred while creating the tiles
   &
   Caused by: java.lang.RuntimeException: An error occurred while creating the tiles
   &
   Caused by: com.baremaps.database.tile.TileStoreException: org.postgresql.util.PSQLException: FEHLER: Syntaxfehler am Ende der Eingabe
     Position: 7
   &
   Caused by: org.postgresql.util.PSQLException: FEHLER: Syntaxfehler am Ende der Eingabe
     Position: 7
   ```
   Any idea?
   
   Thank you for helping!


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