getPolygon

Converts a Geometry object of type polygon in a List<List<List<Double>>> object with the polygon coordinates.

Return

The converted List<List<List<Double>>> object with format [longitude, latitude].

Parameters

geometry

Geometry of type polygon.