-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handle_map_style.go:138: layer (providerLayerName: landuse_areas_gen0) has unsupported geometry type (<nil>) #302
Comments
@vchrisb can you paste in the SQL for those specific layers? |
@ARolek these are the lines in the tegola-osm repo: for the getting started example it was for all three layers in http://tegola.io/getting-started/ |
@vchrisb I just recreated the issue. So what's going on is the condition I do see a bug though which is causing the style to break when we don't know the geom type. I can put a fix in on the v0.6.0 branch to address this soon. Another possible solution is use the line style when tegola can't read the geometry type. Let me do some testing but I think I can have a fix available shortly. Thanks for the report. |
- don't include auto generated style when the geometry type for a layer can't be infered - migrating log statements for server package to internal logger
style generator fix for nil geoms. #302
@vchrisb I just pushed up a fix to the v0.6.0 branch if you want to give it a test. If we can't generate a style we don't, rather than break the interface. |
thx, I'll give it a try! |
@vchrisb have you had a chance to try this on your end? we're going to be cutting the v0.6.0 branch soon so hopefully this is cleaned up for you. |
@ARolek thx, it did work. |
I'm trying to deploy tegola.
I did try the "Getting Started" as well as the "tegola-osm" variant, but in both cases I do get an error like this:
I also tried
v0.6.0
as I've seen there should be some betternil
handling just in the latest commits.I also made sure, that my database user is owner on every table.
Any idea where this error comes from?
Thx.
The text was updated successfully, but these errors were encountered: