In CBLGeoRect, there's min and max.

Does x in the CBLGeoPoint structs correspond to longitude and y is latitude?

And does min correspond to the North West and max to the South East?

I'm not quite sure I'm emitting my coordinates properly in my map function.

Here's my map function emit:

emit(CBLGeoPointKey([locationData[@"lat"] doubleValue], [locationData[@"lon"] 
doubleValue]),

nil);

I'm assuming it's latitude first and then longitude.

In the SQLite database there's x0, x1, y0, y1. Can I assume that x0,y0 
corresponds to the min coordinates and x1, y1 the max coordinates?


Thanks,

Brendan

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/7cb6643f-606b-4c2d-a179-f17f5723f39f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to