2dsphere + GeoJson support

25 views
Skip to first unread message

Gilberto Garcia

unread,
Sep 12, 2013, 2:37:33 PM9/12/13
to rogue...@googlegroups.com
Hi All,

I'm trying to use MongoDB near query, but I wanted to store my data as
GeoJson.
The examples I saw, even in the test classes seems that rogue only
support what mongo
calls "legacy coordinate pairs" - LatLong class to use with near and
nearShere query clauses.

I was wondering if I'm missing something and rogue does support near and
nearSphere query
with GeoJson or, if not, if there are plans to add it in the near future

Thanks in advance.

Jason Liszka

unread,
Sep 12, 2013, 4:47:26 PM9/12/13
to rogue...@googlegroups.com
We haven't added support for it yet, but it wouldn't be too difficult. Do you know whether Lift provides a GeoJsonField type? If not, rogue would have to provide its own (or at least a GeoJson type) so that it knows when $geoWithin/$geoIntersects/$near are appropriate.




--
You received this message because you are subscribed to the Google Groups "rogue-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rogue-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Gilberto Garcia

unread,
Sep 12, 2013, 4:54:37 PM9/12/13
to rogue...@googlegroups.com
I'm not aware of Lift providing a GeoJsonField type.
To unsubscribe from this group and stop receiving emails from it, send an email to rogue-users...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "rogue-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rogue-users...@googlegroups.com.

Jason Liszka

unread,
Sep 12, 2013, 5:12:49 PM9/12/13
to rogue...@googlegroups.com
Are you planning to write your own field type then? I'd like to be compatible with whatever you're using, otherwise I'll just make something up.

Gilberto Garcia

unread,
Sep 12, 2013, 6:51:38 PM9/12/13
to rogue...@googlegroups.com
I was just wondering about my options here, so that's why I asked.
And I wasn't planning to write my own field. I would do that if it was really necessary.
Reply all
Reply to author
Forward
0 new messages