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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to