Skip to content
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

crash seeding tile #796

Closed
probabilty opened this issue Aug 11, 2021 · 4 comments
Closed

crash seeding tile #796

probabilty opened this issue Aug 11, 2021 · 4 comments

Comments

@probabilty
Copy link

  • query:
[[providers.layers]]
geometry_fieldname = "geom"
id_fieldname = "id"
name = "landuse_point"
sql = "SELECT a.osm_id as id, a.osm_type as type, a.name, b.tags, ST_AsBinary(a.geom) as geom FROM osm.landuse_point as a JOIN osm.tags as b ON(a.osm_id = b.osm_id) WHERE  a.geom && !BBOX!"
  • error:

error Getting VTileLayer:
unsupported type for value(map[landuse:residential name:المجاورة 3 name:ar:المجاورة 3 name:en:Neighborhood 3 place:neighbourhood])
with key(tags) in tags for feature
{Feature: 840134948,
GEO: MULTIPOLYGON (((1963 3214,1964 3214,1964 3213,1966 3212,1967 3212,1967 3213,1968 3213,1970 3215,1970 3216,1968 3218,1967 3217.300,1966 3216.700,1965 3216,1963 3214))),
Tags: map[name:المجاورة 3 tags:map[landuse:residential name:المجاورة 3 name:ar:المجاورة 3 name:en:Neighborhood 3 place:neighbourhood] type:neighbourhood]}.

@probabilty probabilty changed the title error seeding tile crash seeding tile Aug 11, 2021
@ARolek
Copy link
Member

ARolek commented Aug 12, 2021

@probabilty is tags and hstore type? If so, do you need all the tags, or can you pick a few specific ones? It looks like the issue is that the vector tile encoder doesn't like dealing with a map.

@probabilty
Copy link
Author

Thank you

@ARolek
Copy link
Member

ARolek commented Aug 13, 2021

Did that solve your issue?

@probabilty
Copy link
Author

probabilty commented Aug 14, 2021 via email

@ARolek ARolek closed this as completed Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants