tegola icon indicating copy to clipboard operation
tegola copied to clipboard

handle_map_style.go:141: layer (providerLayerName: zones_label) has unsupported geometry type (<nil>) when database users can't read table

Open skinkie opened this issue 7 years ago • 3 comments

Any hint what is missing, every element in the column is a point.

skinkie avatar Feb 07 '18 22:02 skinkie

@skinkie do you have an !ZOOM! token in your sql? I recently pushed a fix to the v0.6.0 branch that addresses this. check out #232

ARolek avatar Feb 07 '18 23:02 ARolek

Sorry, my fault. I do hope this report helps future users. I didn't grant the table to user tegola. Hence the query probably aborted without read rights. Could you check the error if tegola has access to the table, if not report that to the user?

skinkie avatar Feb 07 '18 23:02 skinkie

hmm that's strange. I would have suspected an error around permissions rather than an nil geom type. I will modify this issue title and check into it.

ARolek avatar Feb 07 '18 23:02 ARolek