-
Notifications
You must be signed in to change notification settings - Fork 38
Allow null as a filter operand #421
Conversation
Does The current vector tile specification appears to prohibit a null value, which might appear to make this distinction moot: if a null value is not possible, then Therefore we need unambiguous ways to ask for:
Let's reserve |
Thank you @jfirebaugh. If there is a chance that If there is little to no chance that |
We should both merge this PR (for null value support), and add As far as this PR goes, the code changes look good. It should also update the documentation for filters, which list the supported types as "string, number, or boolean" (with broken links). Then we need changes and tests for feature-filter and the native implementation. And we should think about whether these additions are compatible with a non-major version style spec release. |
Added
What happens to null values in GeoJSON after they are passed through
👍 Done
Tracking in mapbox/DEPRECATED-mapbox-gl#10
I think a minor release is appropriate. We're adding a new feature, not breaking any existing functionality.
|
geojson-vt passes the Everything else looks good. |
Resolved in #451 |
fixes mapbox/mapbox-gl-js#2162
cc @jfirebaugh @ansis @tmcw @mourner
Is this the right solution?
JSON doesn't allow
undefined
, onlynull
.