How would I make a query for the bank to return me the size in Km of a LineString
. Let's suppose I have the following LineString saved in a document :
{ type: "LineString", coordinates: [ [ 53.3477, -6.2597 ], [ 51.5008, -0.1224 ], [48.8567, 2.3508], [52.5166, 13.3833] ] }
When rendering this line on a map the result is:
HowwouldthequeryformongodbreturnthesizeofthisLineStringtome?
Note:I'mreferringtomongodb's geolocation feature.