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

Omry Yadan omry at telmap.com
Wed Oct 15 03:45:49 EDT 2003


1. Yes, 2039 is a projection used in Israel.
It’s the closest thing I have found to ITM, which is a variant of UTM used
in Israel.
What's 239? I didn't find it in the espg list file.

2. Without reprojection, its very fast - a matter of seconds..
here is the url and map file I use without reprojection:

http://omry/cgi-bin/mapserv40.exe?map=/projects/nat/nat-itm.map&REQUEST=GetM
ap&VERSION=1&bbox=182400,679996,210000,700002&width=1000&height=1000




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
		"init=epsg:2039"
	END


	LAYER
		NAME "Natanya arial photo"
		STATUS DEFAULT
		TILEINDEX "ntn.shp"
		TILEITEM "location"
		TYPE RASTER
	END

END # Map File





-----Original Message-----
From: Ed McNierney [mailto:ed at topozone.com] 
Sent: â 14 àå÷èåáø 2003 20:26
To: Omry Yadan; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Performence hit when projecting to lat long?

Omry -

1. Do you really mean EPSG:2039 and not EPSG:239?

2. Have you tried doing it WITHOUT reprojection, so you know how long the
ECW decompression is taking?

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: Omry Yadan [mailto:omry at telmap.com]
Sent: Tuesday, October 14, 2003 12:26 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Performence hit when projecting to lat long?


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
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list