[mapserver-users] RE: projection inline and 900913 or 4326 within the epsg file

Sumit Sharma sumit321 at hotmail.com
Thu Nov 3 02:08:49 PDT 2011


Hi David,IMHO by "inline" documentation is referring to projection block in mapfile. You can use projection block defined by you directly in layer or map definition. However, if your layers are in same projection as of map (output projection) you may also avoid layer projection block.Hope it helps.-Sumit
 Date: Thu, 3 Nov 2011 02:01:12 -0700
From: ml-node+s1803224n6958307h34 at n2.nabble.com
To: sumit321 at hotmail.com
Subject: projection inline and 900913 or 4326 within the epsg file



	Dear All,


Mainly, I use these projections: (my epsg file)


#GOOGLE

<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs <>

# WGS 84

<4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  <>


Reading this wonderful link: http://mapserver.org/optimization/index.html I wanted to add the projection inline instead of reading the epsg file (only 4 projections inside).


How can I convert this:


<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs <>


To:


PROJECTION

  "proj=utm"

  "ellps=GRS80"

  "datum=NAD83"

  "zone=15"

  "units=m"

  "north"

  "no_defs"

END


(http://mapserver.org/optimization/mapfile.html)


Thanks!


David
	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://osgeo-org.1803224.n2.nabble.com/projection-inline-and-900913-or-4326-within-the-epsg-file-tp6958307p6958307.html
	
	
		To start a new topic under Mapserver - User, email ml-node+s1803224n1969211h58 at n2.nabble.com 

		To unsubscribe from Mapserver - User, click here.
	 		 	   		  

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/projection-inline-and-900913-or-4326-within-the-epsg-file-tp6958307p6958325.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111103/7da74c8f/attachment.htm>


More information about the MapServer-users mailing list