I've already tried to produce huge image, my goal was to produce a A0 plot at 300 dpi and i've found the theoric limitation : root/branches/1.2.x/MgDev/Server/src/Services/Rendering/ServerRenderingService.cpp ... static const INT32 MAX_PIXELS = 16384*16384; ... // sanity check - number of image pixels cannot exceed MAX_PIXELS if (drawWidth * drawHeight > MAX_PIXELS) throw new MgOutOfRangeException(L"MgServerRenderingService.RenderMap", __LINE__, __WFILE__, NULL, L"MgInvalidImageSizeTooBig", NULL);
This is a quite big value enough to hold my needs. But my server spent a long time calculating the resulting image I was on my own computer with only myself asking to render an image I can imagine you should setup your server with a huge amount of ram if you want to handle many concurent sessions... Bruno Traian Stanev wrote: > > Hi, > > Both ways are possible. You can specify a higher dpi and also a really > large output image size using the web APIs. I have tried both, and there > was a bug with labels not taking into account dpi which I think I fixed > (but my memory is fuzzy, so may be I didn't fix it). > > The limitation is the size of the ouput image in memory, since it needs to > be in RAM while rendering the map. I successfully tried a 5000x5000 image, > but with 10000x10000 it failed. For an 8.5"x11" image at 600 dpi, you > would need to generate a 5100x6600 image which seems doable. > > You can also stitch several large image tiles into one big raster as a > post processing step, but this would most likely show labeling artifacts > at the edges, so I would recommend the monolithic image approach. > > Traian > > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Simon Hope > Sent: Thu 6/21/2007 8:51 PM > To: mapguide-users@lists.osgeo.org > Cc: > Subject: [mapguide-users] Producing High Resolution images using > renderingservice > > > > Hi > > > > I’ve got a client who is very interested in developing a site using > MapGuide Open source and they have a requirement to produce a map image > output into a PDF but the quality of the image is important - i.e. > suitable to print on a 600dpi printer. > > > > I’ve looked over the documentation and the Rendering Service seems to > cater for map image output however it’s not clear on what quality you can > get using this – does anyone have any experience of using the rendering > service in this way and could answer these questions: > > > > Can the rendering service be used to output map images at a higher > quality by specifying resolution? > > If the map image resolution cannot be set –is there any restriction on > the size of the image exported using the rendering service (i.e. produce a > large image (width x height) and reduce this to fit into the PDF – > therefore increasing the quality? > > > > Thanks > > > > Simon > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Producing-High-Resolution-images-using-rendering-service-tf3962171s16610.html#a11282299 Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users