Skip to content

Commit

Permalink
Fix shape export
Browse files Browse the repository at this point in the history
  • Loading branch information
alainbodiguel committed May 27, 2021
1 parent 7a8d686 commit cd11e20
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ private AggregationResponse formatAggregationResult(MultiBucketsAggregation aggr
geometryGeoJson = geometry != null ?
GeoTypeMapper.getGeoJsonObject(geometry, geometryType) : null;
if (geometryGeoJson != null) {
// "old-style crs member is not recommended" so we remove it
geometryGeoJson.setCrs(null);
returnedGeometry.geometry = geometryGeoJson;
returnedGeometry.isRaw = true;
returnedGeometry.sort = sort;
Expand Down

0 comments on commit cd11e20

Please sign in to comment.