bchapuis commented on issue #573:
URL:
https://github.com/apache/incubator-baremaps/issues/573#issuecomment-1500951679
I've eventually been able to reproduce the error with the following commands:
```
baremaps map dev \
--log-level DEBUG \
--database
'jdbc:postgresql://localhost:5432/baremaps?user=baremaps&password=baremaps' \
--tileset 'tileset.json' \
--style 'style.json'
```
Then, executing the following http request prints an error in the console:
```
curl http://localhost:9000/tiles/10/539/359.mvt
```
```
[ERROR] 2023-04-08 20:29:13.755 [servicetalk-global-executor-1-3]
DevResources - Tile error
org.apache.baremaps.database.tile.TileStoreException:
org.postgresql.util.PSQLException: ERROR: syntax error at end of input
Position: 7
at
org.apache.baremaps.database.tile.PostgresTileStore.read(PostgresTileStore.java:122)
~[baremaps-core-0.7.2-SNAPSHOT.jar:?]
at
org.apache.baremaps.server.DevResources.getTile(DevResources.java:137)
~[baremaps-server-0.7.2-SNAPSHOT.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
```
--
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]