Alessandro Pasotti wrote: > 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 :(
yes, for lines in PostGIS it could be easy with a second geom column that is generalized, and then swapping at a certain scale to that. does not need a full replication of the data. > > I also created proper indexes for both shapefiles and pg layers. > > The raster also takes a good part of the processing time. I still have the impression that reading raster layers is slower with MS 4.10 than with 4.8, but I made no real tests to eliminate other factors. > > BTW I think we are going somewhat off-topic... this is a mapserver issue, not > much to do with pmapper. > ------------------------------------------------------------------------- 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
