I'm using PIL to generate PNG tiles in python and then serve them to the
client browser as a static content. To get smooth images I generate bigger
tiles (x4 or x8, you need to use the same multiplier for all coordinates so
tile can be scaled properly) and then resize them with PIL antialised option
switched on.

Also before doing all that you should ask yourself a question: "What my
users are going to do with all those thousands of points and polylines they
will see on the map?". Visual clutter is a real problem when it comes to the
map usability.

Good luck!

Vasily

2009/5/19 buttman <[email protected]>

>
> I have an application that needs to print hundreds if not thousands of
> points onto a map. GMarker won't cut it, it'll be too slow. This data
> is dynamic, meaning it is always changing. It seems my best option is
> to use the GTileLayer class and create a server side script that will
> produce the images. A google search brings up a metric-ton of
> tutorials and modules and crap for doing this in PHP, but hardly
> nothing for doing it in Python. Seems like this sort of thing would
> have been made already, Django being so popular and Google Maps being
> popular as well. Anyone know of any resources for converting the
> coordinates and creating the images in python?
>
> Also one more thing. Will the GTileLayer method work well with
> polylines? My application also has a feature that drawl hundreds of
> lines onto the graph, some of them stretching all across the globe.
> With the Javascript implementation of polylines, the browser will
> crash after a few hundred lines, and also, if you zoom way in to a
> line, it will eventually disappear. Will using a GTileLayer for the
> lines prevent this? I'm using MySQL, but could very well switch to
> Posgres if for some reason the only way to achieve what I want is to
> switch.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to