Tim Teulings wrote:
libosmscout (libsomscout.sf.net) implements offline map rendering. It also contains infrastructure code to parse and preprocess planet.osm files and code for location search by name. It also contains a routing solution but in this it cannot compete with other solutions. I thus would be very interested in integration of other routing solutions. The benefit for the routing solutions would be to drop a lot of its own infrastructure code.


hi, Tim
After some quick and dirty modification for missing posix environment, functions, invalid keyword usage and ambiguous call, I finally made libosmscout compiled under msvc8. Then, I tried converting a small osm file(<500KB), but the importer crashed for invalid superscript access of std::vector in last several lines of bool NumericIndexGenerator<N,T>::Import(...), writer.Write(pageStarts[0]); So I added a if statement to avoid such case. This time, the importer ran without errors. Then I tried using the newly added osmscout to view the map, but get nothing at all. However, according to the screenshot, the display quality of libosmscout is amazing ,almost close to mapnik, but still have some label placement issues. Cario has been slower than GDI+ under windows for a long time. QPainter is just slow for such heavy job. The multi file organization will also exhaust lots of system resource on mobile platform. It will be also grateful, if you could solve these posix environment dependent issue to make libsomscout more portable.

 -- Regards, zsj


_______________________________________________
Routing mailing list
Routing@openstreetmap.org
http://lists.openstreetmap.org/listinfo/routing

Reply via email to