<html>
<p>I have found out that the DIgital orthos are Virginia State Plane Coordinate system.&nbsp; Through the metadata on the dvd, I found that although the discs read VASPCS North, The metadata actually refers to the VASPCS south.&nbsp; I metadata also refers to the units in US survey foot.&nbsp; whereas the epsg file refers to metre.&nbsp; I have tried using the information from the meta to create a separate projection, but it is not working correctly.&nbsp; Can you see anything wrong in my translation.</p>
<p>Spatial_Reference_Information:<br/>
&nbsp; Horizontal_Coordinate_System_Definition:<br/>
&nbsp;&nbsp;&nbsp; Planar:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grid_Coordinate_System:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grid_Coordinate_System_Name: State Plane Coordinate System 1983<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State_Plane_Coordinate_System:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPCS_Zone_Identifier: 4502<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lambert_Conformal_Conic:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Standard_Parallel: 36.766667<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Standard_Parallel: 37.966667<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Longitude_of_Central_Meridian: -78.500000<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latitude_of_Projection_Origin: 36.333333<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; False_Easting: 3500000.000000<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; False_Northing: 1000000.000000<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Planar_Coordinate_Information:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Planar_Coordinate_Encoding_Method: row and column<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Coordinate_Representation:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Abscissa_Resolution: 1.000000<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ordinate_Resolution: 1.000000<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Planar_Distance_Units: US Survey Foot<br/>
&nbsp;&nbsp;&nbsp; Geodetic_Model:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Horizontal_Datum_Name: North American Datum of 1983 (HARN)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ellipsoid_Name: Geodetic Reference System 80<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Semi-major_Axis: 6378137.000000<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Denominator_of_Flattening_Ratio: 298.257222<br/>
</p>
<p>I set up in the layer record:(here's the testing map file)</p>
<p>MAP<br/>
&nbsp; NAME &quot;City of Harrisonburg, Virginia&quot;<br/>
&nbsp; SIZE 400 400<br/>
&nbsp; STATUS ON<br/>
# SHAPEFILE EXTEXTS<br/>
&nbsp; EXTENT 1864266.6510595274 259839.01912492423 1907053.0983945231 299828.4636574<br/>
4545<br/>
#RASTER EXTENTS<br/>
#&nbsp; EXTENT 11360000.0 6820000.0 11390000.0 6870000.0<br/>
&nbsp; UNITS FEET<br/>
&nbsp; SHAPEPATH &quot;/opt/mapserver/www/htdocs/harrisonburg/data&quot;<br/>
&nbsp; PROJECTION<br/>
&nbsp;&nbsp;&nbsp; &quot;init=epsg:102746&quot;<br/>
&nbsp; END</p>
<p>&nbsp; WEB<br/>
&nbsp;&nbsp;&nbsp; IMAGEPATH &quot;/opt/mapserver/www/htdocs/tmp/&quot;<br/>
&nbsp;&nbsp;&nbsp; IMAGEURL &quot;/tmp/&quot;<br/>
&nbsp;&nbsp;&nbsp; LOG &quot;/opt/mapserver/www/htdocs/tmp/ms.log&quot;<br/>
&nbsp; END #end web</p>
<p>&nbsp; # 3876.sid<br/>
&nbsp; LAYER<br/>
&nbsp;&nbsp;&nbsp; NAME 'layer13'<br/>
&nbsp;&nbsp;&nbsp; DATA '/opt/mapserver/www/htdocs/harrisonburg/data/digitalorthos/3885.sid'<br/>
&nbsp;&nbsp;&nbsp; TYPE raster<br/>
&nbsp;&nbsp;&nbsp; #MAXSCALE 25000<br/>
&nbsp;&nbsp;&nbsp; PROJECTION<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;proj=latlong&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ellps=GRS80&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;datum=NAD83&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;lat_0=36.333333334&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;lat_1=36.766666667&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;lat_2=37.966666667&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;lon_0=-78.5&quot;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;units=ft&quot;<br/>
&nbsp;&nbsp;&nbsp; END<br/>
&nbsp;&nbsp;&nbsp; STATUS ON<br/>
&nbsp; END #end layer</p>
<p>&nbsp; # RAILROADS<br/>
&nbsp; LAYER<br/>
&nbsp;&nbsp;&nbsp; NAME 'Railroads'<br/>
&nbsp;&nbsp;&nbsp; DATA '/opt/mapserver/www/htdocs/harrisonburg/data/railroad'<br/>
&nbsp;&nbsp;&nbsp; CLASS<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 102 200<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 0<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END #end style<br/>
&nbsp;&nbsp;&nbsp; END #end class<br/>
&nbsp;&nbsp;&nbsp; TRANSPARENCY 80<br/>
&nbsp;&nbsp;&nbsp; TYPE LINE<br/>
&nbsp;&nbsp;&nbsp; STATUS ON<br/>
&nbsp; END #end layer</p>
<p>END #end map</p>
<p><br/>
Paul A. Malabad<br/>
Director of Information Technology<br/>
City of Harrisonburg<br/>
(540) 432-7706<br/>
<br/>
------ Original Message ------<br/>
From: Frank Warmerdam &lt;warmerdam@pobox.com&gt;<br/>
Date: Saturday, July 8th, 2006 10:24 AM EDT<br/>
To: Paul A Malabad &lt;malabapa@CI.HARRISONBURG.VA.US&gt;<br/>
Subject: Re: [UMN_MAPSERVER-USERS] raster vs shp files extents don't match<br/>
<br/>
Paul A Malabad wrote:<br/>
&gt; Corner Coordinates:<br/>
&gt; Upper Left (11370000.000, 6860000.000)<br/>
&gt; Lower Left (11370000.000, 6850000.000)<br/>
&gt; Upper Right (11380000.000, 6860000.000)<br/>
&gt; Lower Right (11380000.000, 6850000.000)<br/>
...<br/>
&gt; Extent: (1880340.635992, 264114.932237) - (1906873.587035, 299715.644746)<br/>
...<br/>
&gt; I have tried using the different HARN and NAD27 epsg projections in the <br/>
&gt; layer, but I think the problem is more basic (at least I hope it is.) <br/>
&gt; since the extents are so skewed. Any help or a pointer to the right <br/>
&gt; manual would be greatly appreciated.<br/>
<br/>
Paul,<br/>
<br/>
The problem here is that without any coordinate system information for<br/>
your MrSIDs you are left playing the &quot;guess the coordinate system&quot; game.<br/>
And I would suggest that the rest of us out here in internet land have even<br/>
less to go on than you.<br/>
<br/>
If you can't get information from the original MrSID producers, then you<br/>
will basically have to mess around with a variety of guesses. The coordinates<br/>
for your raster are enormous. If they are in meters then 11 million meters<br/>
is roughly 1/4 of the way around the world from the projection origin.<br/>
<br/>
The ratio of x to y coordinates is quite different between the vector and<br/>
raster data, so if they are near each other in the real world, it is unlikely<br/>
this is just a units issue.<br/>
<br/>
I hate playing guess the coordinate system.<br/>
<br/>
Best regards,<br/>
-- <br/>
---------------------------------------+--------------------------------------<br/>
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com<br/>
light and sound - activate the windows | http://pobox.com/~warmerdam<br/>
and watch the world go round - Rush | President OSGF, http://osgeo.org<br/>
<br/>
</p>
</html>