Hi Pierre,

> I have been looking at pyrender and did try recently to have a on the
> fly vector map rendering in python. It was so slow i decided to use pre
> made tiles instead.

Hmm, ok, well that's indicating that we should use C then.

> I also used most part of pyroute to try to make off line route
> calculation:
>
> http://sayhoo.garage.maemo.org/
>
> It works but it eats too much memory.

Thanks, I'll take a look at that - is it because it stores the data in  
memory rather than using a db?

> I also dont know how one could represent big enough a route to connect 2
> foreign city (but, as i do not own a car, this is only a theoretical
> problem :-) )

I had been thinking exactly the same thing, how to parse the database  
and chose the route without needing all of the data in memory/a very  
long time. Presumably this problem has been solved and there must be  
papers which explain either how to pare down the data, or how to store  
memory-efficient route representations. Obviously it could be done by  
iteratively loading the data for a given area, not sure how much  
memory would be needed to store the possible routes though as it  
iterates along the path. Sounds interesting :)

Navit is supposed to be able to do general routing (beyond a single  
city which is stated as a limitation of Pyroute due to memory reqs.  
see http://almien.co.uk/OSM/Routing/), so looking at/transplanting  
that code might be a starting point (and it does rendering too).

Those graphs on the link above look cool :)

Anyway, good to see that there are others interested in the topic :)

Cheers,


Simon


_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to