On Tue, Jul 14, 2009 at 11:30 PM, Stuart Moffatt<[email protected]> wrote:
> Ah, thought there was a catch. Will have to consider an RTree implementation
> (any live examples with datastore entities?), but it would be nice to use
> JTS' STRtree.

You may also want to check out the approaches used by GeoModel for
Python: http://code.google.com/p/geomodel/ - a variant of Geohashing:
http://en.wikipedia.org/w/index.php?title=Geohash. A more
sophisticated variant is to use a space-filling curve:
http://www.ddj.com/184410998

>
> What about storing the index as a file in WEB-INF?

That's workable, as long as your index is less than 10MB, and read-only.

-Nick Johnson

>
> Stuart
>
>
> On Tue, Jul 14, 2009 at 4:23 PM, Nick Johnson (Google)
> <[email protected]> wrote:
>>
>> Are you aware that Datastore entities are limited to 1MB each? If you
>> want to implement an R-Tree, you're probably best off implementing the
>> tree using datastore entities.
>>
>> -Nick Johnson
>>
>>
>> --
>> Nick Johnson, App Engine Developer Programs Engineer
>> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
>> Number: 368047
>
>



-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
Number: 368047

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to