[Mapserver-users] Performence hit when projecting to lat long?

Omry Yadan omry at telmap.com
Tue Oct 14 12:25:33 EDT 2003


I tried to display a map in lat/long bounding box using this url:
http://omry/cgi-bin/mapserv40.exe?map=/projects/nat/nat.map&REQUEST=GetMap&V
ERSION=1&bbox=34.9098,32.2125,35.1034,32.3925&width=1000&height=1000

I get the map, but it takes forever (around a minute), in which I see the
memory footprint of the server goes up over 100mb.
I suspect the projection to lat long is the problem.

Additional info:
The data is two tiles in ecw format, total ecw files size if 223mb.

Any insights?
Suggestions?


Thanks.


MAP
	NAME "Natanya sample file"
	
	IMAGETYPE JPEG
	SIZE 1000 1000
	#EXTENT 182400.375 679996.265 210002.835 700002.575
	EXTENT 34.9098 32.2125 35.1034 32.3925
	

	WEB
		METADATA
			"wms_title"                  "WMS Demo Server"
			"wms_onlineresource"
"http://omry/cgi-bin/mapserv?map=nat.map&"
		END
	END

	PROJECTION
		proj=latlong 
		ellps=WGS84
	END


	LAYER
		PROJECTION
			"init=epsg:2039"
		END
		
		NAME "Natanya arial photo"
		STATUS DEFAULT
		TILEINDEX "ntn.shp"
		TILEITEM "location"
		TYPE RASTER
	END

END # Map File



More information about the mapserver-users mailing list