Il 13:51, venerdì 23 marzo 2007, Brian May ha scritto:
> In your map file up at the top, add the line DEBUG ON. This will write
> statements to your error log file that shows the time each layer took to
> draw. I would suggest zooming to different scales and examining which
> layers are taking a long time to draw at different scales. Then you can
> start to try different techniques to speed things up. For example,
> setting min and max scales is another thing to try. Draw more detailed
> or dense data when zoomed in, draw less detailed or generalized data
> when zoomed out.

Thanks or the hint, 

It is the first thing I've done, and postgis queries are taking a long time 
since the data are really too much detailed, I should try a generalization of 
the data and other optimizations, but the budget is almost finished :(

I also created proper indexes for both shapefiles and pg layers.

The raster also takes a good part of the processing time.

BTW I think we are going somewhat off-topic... this is a mapserver issue, not 
much to do with pmapper.

-- 
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3:  www.itopen.it
Linux User# 167502

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to