Here's my best guess as whats happening during drawing:
See the attached picture so you know what I'm drawing. There's about
2000 road segments in that picture.
0.4 seconds setup (mostly creating the BufferedImage)
0.4 read from postgis
0.4 draw the black roads (thick)
0.4 read from postgis
0.4 draw the white roads (thick)
0.1 store labeling info
0.6 "network" together lines for labeling, clip, etc...
0.3 draw label halos
0.1 draw actual labels
0.2 convert image to PNG
??? transmit to destination
NOTE: timing is very difficult because there is a very large difference
for the same request -- often times in the 1.5 second range. I'm not
sure if this is being caused by DB connectivity or garbage collection
or something else.
dave
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/