[mapserver-users] RE: [UMN_MAPSERVER-USERS] Strange Projection Issue in MapServer

Fawcett, David David.Fawcett at state.mn.us
Fri Feb 15 12:18:22 PST 2008


Robert, 
 
Please reply to the list too, there are a lot of people on the list who
know a lot more about this than I do.  
 
It would be useful to see a more verbose output on both of the commands,
not necessarily for each feature in the tileindex, but at least the
extent, etc.
 
David.

	-----Original Message-----
	From: Robert Hicks [mailto:robhyx at gmail.com] 
	Sent: Friday, February 15, 2008 11:02 AM
	To: Fawcett, David
	Subject: Re: [UMN_MAPSERVER-USERS] Strange Projection Issue in
MapServer
	
	
	$ gdalinfo img.tif | grep EPSG
	              AUTHORITY["EPSG","7019"]],
	          AUTHORITY["EPSG","6269"]],
	      AUTHORITY["EPSG","4269"]],
	      AUTHORITY["EPSG","9001"]],
	  AUTHORITY["EPSG","26915"]]
	
	------------------------------------------------------------
	
	$ ogrinfo 128Resolution.shp
	INFO: Open of `128Resolution.shp'
	      using driver `ESRI Shapefile' successful.
	1: 128Resolution (Polygon)
	
	
	On Fri, Feb 15, 2008 at 11:31 AM, Fawcett, David
<David.Fawcett at state.mn.us> wrote:
	

		This looks like a projection issue.  
		 
		If you run ogrinfo on the tile index what do you get?  
		 
		How about if you run gdalinfo on one of the image tiles?

			-----Original Message-----
			From: Robert Hicks [mailto:robhyx at gmail.com] 
			Sent: Friday, February 15, 2008 10:23 AM
			To: Fawcett, David
			Subject: Re: [UMN_MAPSERVER-USERS] Strange
Projection Issue in MapServer
			
			
			Sure thing, thanks David.
			
			I am using MapServer for Windows version 2.2.6,
I have attached both again for you.
			
			Thanks,
			
			Rob
			
			
			On Fri, Feb 15, 2008 at 10:47 AM, Fawcett, David
<David.Fawcett at state.mn.us> wrote:
			

				Robert,
				
				Can you post the text of your map file
and the version of MapServer that
				you are using?
				
				I also didn't see the .png attachment
come through.
				
				David.
				

				-----Original Message-----
				From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
				Behalf Of Robert Hyx
				Sent: Friday, February 15, 2008 9:30 AM
				To: MAPSERVER-USERS at LISTS.UMN.EDU
				Subject: [UMN_MAPSERVER-USERS] Strange
Projection Issue in MapServer
				
				
				Hello Everyone,
				
				I am having a strange problem with
mapserver and reprojecting on the
				fly. I have some imagery in mapserver
that has been processed but is
				still kept in its native projection
26915, and when I use the
				
				PROJECTION
				 "init=epsg:4326"
				END
				
				in the header (above the paths of the
shape files)
				
				and I use
				
				PROJECTION
				 "init=epsg:26915"
				END
				
				in each layer (above the path of each
shape file), I get another version
				of the imagery over on the other side of
the world in addition to the
				normal version of the imagery that
appears in the correct place.
				
				I have attached a png of what the
imagery that appears in the incorrect
				place looks like. Any help would be
greatly appreciated.
				
				Thanks,
				
				Robert
				



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080215/5ef5d081/attachment.htm>


More information about the MapServer-users mailing list