[mapserver-users] Resolution of PDF Output

2012-07-24 Thread Sven Geggus
Hello, for PDF generation I would usually like to output Data in Papersizes (A3, A4, ...) but in shp2img or CGI Interface I can only specify pixels. How does this size correspond to the size shown in acrobat reader? If I take 1000 Pixels this will result in 352.8mm Where does this factor of

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread thomas bonfort
The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm 1000 pixels / (28 pixels/cm) = 35.71 cm, i.e. with rounding occuring close to your 352 mm. reagrds, thomas On Tue, Jul 24, 2012 at 12:06 PM, Sven Geggus li...@fuchsschwanzdomain.de wrote: Hello, for PDF generation I would

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread Tim-Hinnerk Heuer
Hi Thomas, Does Mapserver support PDF output? What about marginalia? Regards, Tim On Tue, Jul 24, 2012 at 10:11 PM, thomas bonfort thomas.bonf...@gmail.commailto:thomas.bonf...@gmail.com wrote: The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm 1000 pixels / (28 pixels/cm) =

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread Tim-Hinnerk Heuer
To answer my own question: PDF output is supported but raster layers are rendered as JPG and not PNG. Would it be possible to render raster layers with a lossless image compression for better quality? I guess Mapfish Print still has its place because it supports nice marginalia. However, with

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Eichner, Andreas - SID-NLKM
You might try: [shpminx], [shpminy], [shpmaxx], [shpmaxy] Minimum / maximum X or Y coordinate of shape extent. Available only when processing query results. See http://mapserver.org/mapfile/template.html#query HTH -Ursprüngliche Nachricht- Von:

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Andreas, Thanks, but this only works for the individual features within [resultset]. I need to get the BBOX values which is basicallly the overall bounds of the query. [mapext] doesn't work either as that takes the bounds from the map file which are much greater than the BBOX for the query. Many

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread Sven Geggus
thomas bonfort thomas.bonf...@gmail.com wrote: The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm 1000 pixels / (28 pixels/cm) = 35.71 cm, i.e. with rounding occuring close to your 352 mm. Would'nt it be more accurate to generate the PDF according to the RESOLUTION

[mapserver-users] Compiling Mapserver 6.0.3 errors for Cairo Support

2012-07-24 Thread daz4805
Hi, I am trying to compile a 6.0.3 version of Mapserver and I am getting issues with Cairo support in the compilation process. Please see the log below for what is generated from my nmake /f makefile.vc command. Please could somebody give me an idea of what might be wrong? Thanks, Darren

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Lime, Steve D (DNR)
Wonder if [rawext] will work? Worth a quick try but I doubt it. That value will get you the un-altered extent used for map draws or queries but only through CGI calls. I think what's happening is that because WFS works generally outside the CGI object that that some of the tracking variables

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread Sven Geggus
thomas bonfort thomas.bonf...@gmail.com wrote: The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm Hm, this is certainly not what I want. To generate PDF for printing (not viewing on the screen) something like 300dpi or 600dpi would be the target resolution. Any way to specify

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread Stephen Woodbridge
On 7/24/2012 12:38 PM, Sven Geggus wrote: thomas bonfort thomas.bonf...@gmail.com wrote: The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm Hm, this is certainly not what I want. To generate PDF for printing (not viewing on the screen) something like 300dpi or 600dpi would

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Steve, [rawext] has the same limitations as [mapext] which provides the overall extents as defined in the map file. I have created a ticket as you suggested: https://github.com/mapserver/mapserver/issues/4405 Many thanks. Regards, Donald -Original Message- From: Lime, Steve D

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Martin Kofahl
Hi Donald, didn't actually try myself, but what about the tags [minx], [miny], [maxx], [maxy] or [shpminx], [shpminy], [shpmaxx], [shpmaxy] mentioned at http://mapserver.org/mapfile/template.html? Kind regards, Martin Original-Nachricht Datum: Tue, 24 Jul 2012 10:56:41

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Martin, minx etc refers to the overall map extents as defined in the map file and shpminx etc refers to the individual features themselves so they won't work as wanted. Thanks anyway. Regards, Donald -Original Message- From: Martin Kofahl [mailto:m.kof...@gmx.net] Sent: 24 July 2012

[mapserver-users] Mapserver as wms client

2012-07-24 Thread Sowmya Tiramdasu
Hi, I configures map server to act as a WMS Client. But it doesn't work as expected. When i make a getMap request to my WMS server I get the right image back but when I try to make it a layer through my map server it is not working. I am using fiddler to see all the calls made to the