MongoDB y consultas geoespaciales: especificador geográfico desconocido: $geometry: null
Estoy experimentando con MongoDB y consultas geoespaciales. He creado la siguiente colección: shape> db.shape.find() [ { _id: ObjectId(“61ab50d2056b5357b5e23e56”), name: ‘Point1’, structure: { type: ‘Point’, coordinates: [ 2.5, 2.5 ] } }, { _id: ObjectId(“61ab5337056b5357b5e23e57”), name: ‘Point2’, structure: { type: ‘Point’, coordinates: [ 5, 5 ] } }, { _id: ObjectId(“61ab533e056b5357b5e23e58”), . . . Read more