Re: [mapserver-users] PHP Mapscript delivers map with larger extent than requested

2009-10-26 Thread Chuck Jungmann
I am using MapScript with PHP because I want to be able to request a map with a url, change the content-type and send saveImage directly to STDOUT. An example (relative) URL: map.php?lat=42.056542lon=-88.035765ext=300pwide=500ptall=500 Where ext is the width, in meters, on the ground (difference

Re: [mapserver-users] PHP Mapscript delivers map with larger extent than requested

2009-10-26 Thread Moen, Paul T.
Where are you setting the map size? $map-setSize($pwide,$ptall); You may need to set the size of the map before you set the extents. Paul On Oct 26, 2009, at 11:44 AM, Chuck Jungmann wrote: I am using MapScript with PHP because I want to be able to request a map with a url, change the

[mapserver-users] PHP Mapscript delivers map with larger extent than requested

2009-10-24 Thread Chuck Jungmann
I am a new user of MapServer, using version 5.0.3 from the Ubuntu repositories. I attempted to compile everything from source, had some trouble, then decided to use the repository shortcut at least until I understood how the application works. I am writing an application where the browser

Re: [mapserver-users] PHP Mapscript delivers map with larger extent than requested

2009-10-24 Thread Alan Boudreault
Hi Chuck, I don't know exactly how your mapserver request is and what parameters your pass through... but I would suggest you do a quick test by adding the following repository to your Ubuntu system (hopefully you are running under hardy, intrepid or jaunty):

Re: [mapserver-users] PHP Mapscript delivers map with larger extent than requested

2009-10-24 Thread Stephen Woodbridge
Chuck Jungmann wrote: I am a new user of MapServer, using version 5.0.3 from the Ubuntu repositories. I attempted to compile everything from source, had some trouble, then decided to use the repository shortcut at least until I understood how the application works. I am writing an application