[mapserver-users] migration from 3.5 to 3.6: raster zoom problems

Vincent Schut schut at GisSrv.IenD.wau.nl
Thu May 30 11:38:14 EDT 2002


I just migrated from 3.5 to 3.6, including php/mapscript
All seems to work well now, I do get an image (though the tmp image url seemed 
to be broken if determined automatically in php from imageurl..., but i will 
tackle that one myself probably soon...).

I have a very simple map file (joy!) with only one layer (actually 2, but one 
is only for testing purposes), which is a tiled raster layer. With my (also 
simple) application, I can zoom in/out and pan through this raster file.
Now one thing goes wrong: I do get an image everytime, but it is the same all 
the time. The extent parameters that I calculate are correctly if zooming in 
for example, but mapserver gives me a full extent image every time, no matter 
what I do.

Maybe it's something very simple? :-)
It *did* work correctly using ms3.5....

Here comes my mapfile:
(I hope it's in the mapfile, not in some difference in php/mapscript...)

NAME "samboja"
SIZE 400 440
STATUS ON
EXTENT 492499.336 9879200.289 502498.366 9890199.289
UNITS METERS
TRANSPARENT ON
PROJECTION
	"proj=utm"
	"ellps=GRS80"
	"zone=50"
	"south"
	"no_defs"
END
SHAPEPATH "./data"

WEB
	IMAGEPATH "/home/samboja/ms_tmp/"
	IMAGEURL "/samboja/ms_tmp/"
	MAXSCALE 70860
	MINSCALE 4428
END

REFERENCE
	IMAGE "/home/samboja/ms_data/data/reference/sl_ref.png"
	EXTENT 492499.336 9879200.289 502498.366 9890199.289
	COLOR 255 0 0
	OUTLINECOLOR 255 0 0
	SIZE 100 110
	STATUS ON
END

LAYER
	NAME "IKONOS2001"
	MAXSCALE 70860
	MINSCALE 70859
	DATA "tilez0/1x1.png"
	TYPE RASTER
	STATUS ON
END
LAYER
	NAME "IKONOS2001"
	MAXSCALE 70859
	MINSCALE 35429
	TILEINDEX "tilez1_idx.shp"
	TILEITEM "Location"
	TYPE RASTER
	STATUS ON
END
LAYER
	NAME "IKONOS2001"
	MAXSCALE 35429
	MINSCALE 17714
	TILEINDEX "tilez2_idx.shp"
	TILEITEM "Location"
	TYPE RASTER
	STATUS ON
END
LAYER
	NAME "IKONOS2001"
	MAXSCALE 17714
	MINSCALE 8857
	TILEINDEX "tilez3_idx.shp"
	TILEITEM "Location"
	TYPE RASTER
	STATUS ON
END
LAYER
	NAME "IKONOS2001"
	MAXSCALE 8857
	MINSCALE 4428
	TILEINDEX "tilez4_idx.shp"
	TILEITEM "Location"
	TYPE RASTER
	STATUS ON
END
LAYER
	NAME "IKONOS2001"
	MAXSCALE 4428
	MINSCALE 0
	TILEINDEX "tilez5_idx.shp"
	TILEITEM "Location"
	TYPE RASTER
	STATUS ON
END

LAYER
	NAME "TILETEST"
	DATA "tilez1_idx.shp"
	TYPE POLYGON
	CLASS
		COLOR -1 -1 -1
		OUTLINECOLOR 0 200 0
	END
	STATUS ON
END


END




More information about the mapserver-users mailing list