Closed timrobertson100 closed 5 years ago
I've just updated to 2.14.2RC2
and now see:
Caused by: java.lang.Exception: Error transforming bbox
at org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1099)
at org.geotools.renderer.lite.StreamingRenderer.getFeatures(StreamingRenderer.java:2026)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1990)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:861)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:565)
... 127 more
Caused by: java.lang.IllegalArgumentException: Argument "targetCRS" should not be null.
at org.geotools.referencing.operation.AbstractCoordinateOperationFactory.ensureNonNull(AbstractCoordinateOperationFactory.java:789)
at org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(BufferedCoordinateOperationFactory.java:229)
at org.geotools.referencing.CRS.findMathTransform(CRS.java:1260)
at org.geotools.referencing.CRS.findMathTransform(CRS.java:1228)
at org.geotools.renderer.crs.GeographicHandlerFactory.isWrappingException(GeographicHandlerFactory.java:95)
at org.geotools.renderer.crs.GeographicHandlerFactory.getHandler(GeographicHandlerFactory.java:82)
at org.geotools.renderer.crs.ProjectionHandlerFinder.getHandler(ProjectionHandlerFinder.java:103)
at org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1070)
... 131 more
It seems required that the name of the field be mapped to "geometry"
Can you clarify what the issue was? I don't think geometry fields need to be named "geometry". But there may be a problem with having it named "coordinates" as that's also a relevant field in GeoJSON. If so I think it's a bug in the plugin and we can reopen this to track.
All I did was change the mapping from coordinates to geometry and it worked.
Hi folks
I have a ES server with a coordinate field as follows:
When I configure a layer it seems to map correctly to the
point
type and is picked up as the default geometry. However, on any request I get the following NPE:This is Geoserver 2.14.3