-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Unrecognized field min_tile_cover_size
[BUG]
#961
Comments
It looks like the docs and json schema are wrong here. There's a We should update the docs/json schema but also they should probably each just have a |
Oh okay, I thought |
Ah yeah the default unit is "tile pixels" which might be a little counter-intuitive. Ideally I think you should be able to express |
For most maps this is zoom=14 but if you run with |
@msbarry Thanks for the clarifications! |
I'm trying to use a custom schema something like this:
But when I try to use
min_tile_cover_size
I run into this error:Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized field "min_tile_cover_size" (class com.onthegomap.planetiler.custommap.configschema.FeatureItem), not marked as ignorable (8 known properties: "min_zoom", "include_when", "geometry", "attributes", "source", "max_zoom", "exclude_when", "min_size"])
I guess the value is probably missing from configschema/FeatureItem.java? It's listed in configschema/AttributeDefinition.java, possibly that's a mistake? Not sure exactly what's going on.
The text was updated successfully, but these errors were encountered: