| Try extending the Gsml32BoreholeWfsTest with this:
@Test
public void testGetJSONContent() throws Exception {
String path = "wfs?request=GetFeature&typename=gsmlbh:Borehole&outputFormat=json";
JSON json = getAsJSON(path, 200);
print(json);
}
and it will fail trying to encode a missing Y as NaN (which JSON cannot encode). Thinking out loud, either the Y is encoded as "null" or maybe it's skipped, and a "srsDimension" property is added to the dimension to make evident that ordinates should be interpreted as a list of "x" values only (well, in this case they are depths, but whatever) |