Error Installing RTree on Ubuntu
Thanks knudfl,
The "sudo" command did a magic as you suggested to try. What does "sudo" command do? On top of that, I found the instruction in the graphserver site is missing a word in the command line (spatilindex-1.6.0 -----> spatialindex.src-1.6.0).
However, after successfully loading the RTree on Ubuntu, I tried the "A Quick Tour of the Basics" to find out the RTree is working. Everything was OK until I got this error closer to the end of it:
--------------------------------------------------------------------------------
>>> vertices[-1]
<graphserver.core.SPTVertex object at 0x7f55dbc76810>
>>> vertices[-1].payload.time
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'SPTVertex' object has no attribute 'payload'
----------------------------------------------------------------------------------
Do you have any idea about what went wrong?
-phkim
|