Re: [mapserver-users] high memory usage on map draw

2011-11-30 Thread Bob Basques
All, I've been following this thread with some interest. Another option for print work flow may be to tile some data as separate calls, and then to call cartographic stuff like large labels with a transparent background and overlay this on the base tiles. We do this type of operation in th

Re: [mapserver-users] high memory usage on map draw

2011-11-30 Thread Adam Eskreis
If you have a piece of text with a buffer that spans 10 tiles, and assuming you are using 2048x2048 tiles to do your tiling, I wonder what kind of text this is that can literally span 2 pixels, and whether displaying that text on the map, rather than just overlaying that text on the map post-re

Re: [mapserver-users] high memory usage on map draw

2011-11-30 Thread Daniele Debernardi
I've already tried with that solution but the problem is how to know how much buffer I need. Suppose that i have a very long label that cover 10 tiles, I have to generate tiles with a buffer of the size of 10 tiles to get my text correctly. But how can I know what my label text will be long? No

Re: [mapserver-users] high memory usage on map draw

2011-11-30 Thread Adam Eskreis
You can still buffer even if you draw in a tile based manner. Suppose your buffer is 100 pixels and tile size is 256x256. Just pull 100 pixels more in each direction than you need, and then when you weave your tiles together, only draw from 100,100 to 356,356 and cut out the rest. See what I mea

Re: [mapserver-users] high memory usage on map draw

2011-11-30 Thread Daniele Debernardi
Tiling the map is a good idea, but the problem is the symbology and label that are drawn between 2 tiles, with a buffer can't be possible why there is no possibility to know how the symbol or text will be. I'm trying to configure php mapscript to output directly in pdf with CAIRO but with no s

Re: [mapserver-users] high memory usage on map draw

2011-11-29 Thread Adam Eskreis
Why don't you try requesting the images in a tile-based manner so that the requests are managable, and then weave them together in your software? Mapserver isn't intended to pull in tiles that big. You should be able to pull in 2048x2048 tiles just fine. -Adam On Tue, Nov 29, 2011 at 10:51 AM, S

Re: [mapserver-users] high memory usage on map draw

2011-11-29 Thread Stephen Woodbridge
On 11/29/2011 10:02 AM, Daniele Debernardi wrote: The solution is not pumping up the memory limit of the server, because if i get 2 request at the same time I still have memory problem. It sounds like you have not adequately sized the server for the tasks you are asking it to perform. Mapserve

Re: [mapserver-users] high memory usage on map draw

2011-11-29 Thread Daniele Debernardi
The solution is not pumping up the memory limit of the server, because if i get 2 request at the same time I still have memory problem. Which is the best way (output format) to generate high resolution map images with full symbology support? Il 29.11.2011 15:49, Stephen Woodbridge ha scritt

Re: [mapserver-users] high memory usage on map draw

2011-11-29 Thread Stephen Woodbridge
On 11/29/2011 3:20 AM, Daniele Debernardi wrote: Hi, with mapserver trunk version (but i think with others too) I have to generate very big map to be imported in a pdf file. I use php mapscript to generate maps with 300 dpi for an A1/A0 pdf page or bigger. This mean that the map has dimensions li

Re: [mapserver-users] high memory usage on map draw

2011-11-29 Thread thomas bonfort
On Tue, Nov 29, 2011 at 09:20, Daniele Debernardi wrote: > Hi, > with mapserver trunk version (but i think with others too) I have to > generate very big map to be imported in a pdf file. > I use php mapscript to generate maps with 300 dpi for an A1/A0 pdf page or > bigger. > This mean that the ma

[mapserver-users] high memory usage on map draw

2011-11-29 Thread Daniele Debernardi
Hi, with mapserver trunk version (but i think with others too) I have to generate very big map to be imported in a pdf file. I use php mapscript to generate maps with 300 dpi for an A1/A0 pdf page or bigger. This mean that the map has dimensions like 15000x25000 pxl and when I call the MapObj->