There isn't an example of using a more extended path in the tutorial

http://toblerity.github.com/rtree/tutorial.html#serializing-your-index-to-a-file

but you can do this:

  >>> idx = index.Rtree('/path/to/rtree')



On Fri, Mar 29, 2013 at 9:47 PM, Zhiyu LI <[email protected]> wrote:

> Hi there,
>    I am new to python and the rtree package.
>    How can I set a user defined path to store the index and the data?
>    I walked through the samples and know I could change the suffix of the
> two.
> Thanks.
>
> Zhiyu LI
> Student
> China
>
>
>
> _______________________________________________
> Community mailing list
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community
>
>


-- 
Sean Gillies
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to