Hello,
http://www.mail-archive.com/pmapper-users@lists.sourceforge.net/msg03914.html
Is there any solution regarding feature or as you said bug of
mapserver or php mapscript
relating MINSCALEDENOM paramater. I am trying to use zoom to minscale,
but it doesn't work well...
kind regards and
Sandro
I checked the code, and the solution I suggested will work only in very
rare cases where an explicit zoom to an extent is performed (which is
rarely the case).
Otherwise it seems Mapserver has a very special way to handle this
MINSCALE/MINSCALEDENOM. It works if the map width is lower
Hi,
the patch in this thread,
http://www.mail-archive.com/pmapper-users@lists.sourceforge.net/msg01245.html
, perhaps is what i'm searching, but it's very old.
How can i use this with this configuration?
PHP Version 5.2.10-2ubuntu6.7
MapServer version 5.6.5
Ubuntu 9.10
Pmapper 4.0
I added a
Try to replace in incphp/map/map.php line 590
if ($minscale = $this-map-web-minscale) {
with
if ($minscale = $this-map-web-minscaledenom) {
and see if it helps. I just recently replaced all min/maxscale with
min/maxscaledenom in the dev version which is the recommended setting.
alternatively
Thanks, but unfortunately it does not work in both ways.
Sandro
Il 06/04/2011 17:30, Armin Burger ha scritto:
Try to replace in incphp/map/map.php line 590
if ($minscale = $this-map-web-minscale) {
with
if ($minscale = $this-map-web-minscaledenom) {
and see if it helps. I just
Il 21:58, lunedì 19 marzo 2007, Armin Burger ha scritto:
I think the patch from Alessandro will work for several zoom functions,
but not for all. E.g. not for zoom via a rectangle (zoombox) on the map.
Yes, Armin you're right,
here is the patch for zoombox:
Insert after
will test it and hope it works
for me too.
Regards
Michael
-Ursprüngliche Nachricht-
Von: Armin Burger [mailto:[EMAIL PROTECTED]
Gesendet am: Freitag, 16. März 2007 14:39
An: Alessandro Pasotti; pmapper-users@lists.sourceforge.net
Betreff: Re: [pmapper-users] MAXSCALE
drawbacks for this
setting.
armin
[pmapper-users] MAXSCALE and Identify
Il 22:19, giovedì 15 marzo 2007, Armin Burger ha scritto:
Fine and thanks for the report. A quiet strange error seems to have
disappeared with that. Maybe one should post this once on the Mapserver
list.
Sorry
Il 11:18, venerdì 16 marzo 2007, Armin Burger ha scritto:
The easiest way to solve this problem without any code modifications (I'm
tired of permanently applying workarounds for Mapscript bugs...) is to set
the MINSCALE to 4999 (or 4999.999) if you want to have a maximum (or
minimum in MS