com presentations: I always get this the wrong way around. It's longitude, lattitude, dammit.: slides/mongodb/idx-geo3.xml

From: Date: Tue, 19 Jun 2012 13:01:48 +0000
Subject: com presentations: I always get this the wrong way around. It's longitude, lattitude, dammit.: slides/mongodb/idx-geo3.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1820@lists.php.net to get a copy of this message
Commit: c518ca058f14744bf46169873f83e6646896613c Author: Derick Rethans <github@derickrethans.nl> Tue, 19 Jun 2012 14:01:48 +0100 Parents: 7e47feac29eecb3282efbabecf6aa62fb1f4953f Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=c518ca058f14744bf46169873f83e6646896613c Log: I always get this the wrong way around. It's longitude, lattitude, dammit. Changed paths: M slides/mongodb/idx-geo3.xml Diff: diff --git a/slides/mongodb/idx-geo3.xml b/slides/mongodb/idx-geo3.xml index 98f73b3..83e6d47 100644 --- a/slides/mongodb/idx-geo3.xml +++ b/slides/mongodb/idx-geo3.xml @@ -11,8 +11,8 @@ db.runCommand( { geoNear: 'cities', near: [ -0.088, 51.489 ], *spherical: true* </example> <list> - <bullet>Location needs to be: *latitude, longitude* in a field.</bullet> - <bullet>For 50N and 13E:<list> + <bullet>Location needs to be: *longitude, latitude* in a field.</bullet> + <bullet>For 50°N and 13°E:<list> <bullet>|00cc00|%[13, -50]%|</bullet> <bullet>|00cc00|%{ lon : 13, lat : -50 }%|</bullet> <bullet>|f10000|%{ lat : -50, lon : 13 }%|</bullet>

« previous php.pres (#1820) next »