On Wed, 2009-10-07 at 21:01 -0700, Balram wrote:
> Hi Jon,
> Thanks very much for your reply.
> 
> Yes, I am desired to render europe data with high level details along with
> very low level details.

If you are rendering maps with lots of details then ~20 seconds seems a
reasonable rendering time.

>  But the thing which makes me surprise is when i am
> at higher zoom level my output is just various country border & names of
> countries. Ideally this should take less amount of time because it has to
> process less amount of data (I guess so). But it is taking more time to
> render at high zoom level as compared to low zoom level. As I am increasing
> my zoom level from low to high, the rendering time increase in proportion.

What you might find is that the country borders themselves are very slow
to render. They are often highly detailed and contain lots of data.
Rendering more of them may slow things down. You can speed things up by
simplifying the data. This can be done by using the postgis simplify()
function to create a new set of boundaries which are used for high zoom
levels. Then you can switch to the original more detailed boundaries at
low zooms.


> Again, could you please explain me in more details about how to merge static
> map image tiles with dynamic map image containing route planning
> information?

That depends entirely on your application. If the tiles are displayed in
a web browser then people often use javascript in the client side
browser to add the overlay. Several good examples of this can be found
on the OpenLayers website http://gallery.openlayers.org/

If you are using another application framework then you will probably
have APIs letting you load a bitmap into a window and then draw points,
icons & lines over the top.

        Jon


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to