[mapserver-users] Understanding extents and resolutions

2015-10-01 Thread Zach Chehayeb
Hello All, Can anyone explain or point me in the right direction on how mapserver logic works when a requested map extent cannot be produced at the requested resolution with square pixels? I am using mapserver in an application that requests mapserver to produce various map extents at various

Re: [mapserver-users] Understanding extents and resolutions

2015-10-01 Thread Zach Chehayeb
Bob, I am not sure I am understanding your response correctly. Are you suggesting that it is the coordinate window ratio that determines whether mapserver locks on the east/west or north/south bounds? If so, this doesn’t align with my observations below as all the images where sent the exact

Re: [mapserver-users] Announcing the new MS4W

2015-10-01 Thread Mark Korver
First of all, very nice work on MS4W. Maybe the next time I give a demo for AWS, I will flip from my Ubuntu based instances running on EC2 to Windows. In the interest of getting more people access to all of this effort, especially new users, I am wondering how much interest there is out there in

[mapserver-users] PhpMapScript 7.0: Property 'type' does not exist in this object

2015-10-01 Thread Vladimir
I try to set a label font using: $label->set('type', MS_TRUETYPE); $label->set('font', 'arial'); but get MapScriptException: Property 'type' does not exist in this object using. Moreover, the labeling works well without these two strings.  The docs contain the reference to 'type' member of

Re: [mapserver-users] Understanding extents and resolutions

2015-10-01 Thread Basques, Bob (CI-StPaul)
Zach, If I’m understanding your question correctly, MapServer will always give you your requested coordinate space inside of the requested image size, by buffering the image results along the axis that is larger than the coordinate window needs to draw completely. In other words, MapServer

Re: [mapserver-users] Understanding extents and resolutions

2015-10-01 Thread Lime, Steve D (MNIT)
MapServer compares the requested extent to the aspect ratio of requested image. The code (msAdjustExtent in maputil.c) starts by computing a cellsize in each direction (x and y) and then uses the largest value to pad the other. You’re guaranteed to preserve the extent in one of the direction

Re: [mapserver-users] Understanding extents and resolutions

2015-10-01 Thread Jim Klassen
When MapServer forces square pixels, it does so with msAdjustExtent() in maputil.c:759 If MapServer tries to force square pixels depends on how it is called and how it is configured. For starters, see the MS_NONSQUARE configuration option. And if I remember correctly, MapServer doesn't force

Re: [mapserver-users] Announcing the new MS4W

2015-10-01 Thread Marco Afonso
Congratulations to all the people that have been working hard for this MS4W release. We (local council) have been using MS4W since MS 5.6. We cant just thank enough. Keep up the terrific work. Cheers, Marco Em 01/10/2015 22:21, "Mark Korver" escreveu: > First of all, very