Closed sylvainbarbot closed 8 years ago
1 ok 2 ok pourquoi pas 3 c deja le cas , dev pas update 4 ok 5 ok , pour info pour tout ce qui est label il suffit d'aller dessus pour le changer
2016/10/21 11:34:58 [error] [exception.MongoWriteConcernException] exception 'MongoWriteConcernException' with message 'c19.lamppost.17.mongolayer.com:10019: Can't extract geo keys: { _id: ObjectId('5809fd62dd04522d44fa29df'), name: "test #1163", type: "NGO", role: "member", tags: [ "Bruit" ], preferences: { isOpenData: "true", isOpenEdition: "true" }, address: { @type: "PostalAddress", addressCountry: "RE", streetAddress: "", addressLocality: "LES TROIS BASSINS", postalCode: "97426", codeInsee: "97423", depName: "REUNION", regionName: "La Réunion" }, geo: { @type: "GeoCoordinates", latitude: "-21.10592900", longitude: "55.29517400" }, geoPosition: { @type: "Point", coordinates: [ "55.29517400", "-21.10592900" ] }, addresses: [ { address: { @type: "PostalAddress", addressCountry: "RE", streetAddress: "", addressLocality: "LES TROIS BASSINS", postalCode: "97426", codeInsee: "97423", depName: "REUNION", regionName: "La Réunion" }, geo: { @type: "GeoCoordinates", latitude: "-21.10592900", longitude: "55.29517400" }, center: "true" } ], modified: new Date(1477049698000), updated: 1477049698, creator: "58062411dd04525a509aef8b", created: 1477049698 } unknown GeoJSO' in /home/ubuntu/dev.communecter.org/pixelhumain/ph/protected/models/PHDB.php:77
Stack trace:
#0 /home/ubuntu/dev.communecter.org/pixelhumain/ph/protected/models/PHDB.php(77): MongoCollection->insert(Array)
#1 /home/ubuntu/dev.communecter.org/modules/citizenToolKit/models/Element.php(690): PHDB::insert('organizations', Array)
Les "geo.Point" sont avec des String dans les coordonnées.
du coup c'est réglé ?
Le point 1, oui. Mais le point 2, non.