-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: legacy-1.0.0-rc0
-
Component/s: Testing
Running against 2.4:
/mnt/jenkins/workspace/mongo-cxx-driver-legacy/compiler/clang/mongodb_version/24-release/build/install/share/mongo-cxx-driver/examples/static/geojsonExample --port 27999 connecting to localhost... connected ok { "type" : "Point", "coordinates" : [ 50, 50 ] } MULTIPOLYGON BSON: { "type" : "MultiPolygon", "coordinates" : [ [ [ [ 0, 10 ], [ 100, 10 ], [ 5, 5 ], [ 0, 10 ] ] ] ] } { "type" : "MultiPolygon", "coordinates" : [ [ [ [ 0, 10 ], [ 100, 10 ], [ 5, 5 ], [ 0, 10 ] ] ] ] } GEO COLLECTION BSON: { type: "GeometryCollection", geometries: [ { type: "Point", coordinates: [ -5.0, -5.0 ] }, { type: "Point", coordinates: [ 100.0, 0.0 ] }, { type: "LineString", coordinates: [ [ 0.0, 10.0 ], [ 100.0, 10.0 ] ] } ] } 5 5 1 terminate called after throwing an instance of 'mongo::OperationException' what(): OperationException: { index: 0, code: 16572, errmsg: "", op: { _id: ObjectId('541092eeef7ef14faccbc759'), ns: "geotest.data", name: "loc_2dsphere", key: { loc: "2dsphere" } } } scons: *** [examples] Error -6 scons: building terminated because of errors.