Re: [Libosmscout-development] Compiling libosmscout for iOS giving error
Library for OpenStreetMap offline rendering and routing
Status: Beta
Brought to you by:
tteuling
|
From: Tim T. <ti...@fr...> - 2016-07-19 18:13:36
|
Hello Nicholas,
> Tim gave me a hint and I got it working on the device, so that is good news!
>
> It does render a bit slow though, especially at higher zoom levels.
> Are there ways to speed this up?
Yes, depending on the actual hardware, the device resolution (more
pixel, more effort) and the actual map data (more defaults, more
things required to render) things may be slow in some situations.
First task is always to analyse the situation and find out what
actually is slow. Libosmscout performance is mainly divided into the
following task:
* Loading data from disk. This is like IO bound
* Rendering data. This is likely bound by CPU and graphics card.
Possible location of optimizations are:
* The import allows you to tune the database in various ways, dropping
data or making data smaller, optimizing index...
* The MapService allows for caching of loaded data - if the is memory
* The rendering can be optimized by optimizing the the style sheet.
THere is likely current more details for the small mobile screen than
necessary. GoogleMaps has/had less details in a number of zoom levels.
I recently added progressive rendering. This allows you to star
rendering while data is still left. Good, if IO is slow.
--
Gruß...
Tim
|