When parameters are used for subsetting after the dataset has been subset to a single point, the x and y axes are filtered out of the dataset. This breaks geojson because x and y are required to serialize the geometry.
There are two options here:
Filter the query by parameters after the position selection so the axes are not squeezed
Always include the relevant axes in the responses, in addition to any specified parameter subsetting.
I am leaning towards 1 because it is less code but I'm open to suggestions.
When parameters are used for subsetting after the dataset has been subset to a single point, the x and y axes are filtered out of the dataset. This breaks geojson because x and y are required to serialize the geometry.
There are two options here:
I am leaning towards 1 because it is less code but I'm open to suggestions.