raster vs shp files extents don't match

Frank Warmerdam warmerdam at POBOX.COM
Sat Jul 8 10:32:22 EDT 2006


Paul A Malabad wrote:
> Corner Coordinates:
> Upper Left  (11370000.000, 6860000.000)
> Lower Left  (11370000.000, 6850000.000)
> Upper Right (11380000.000, 6860000.000)
> Lower Right (11380000.000, 6850000.000)
...
> Extent: (1880340.635992, 264114.932237) - (1906873.587035, 299715.644746)
...
> I have tried using the different HARN and NAD27 epsg projections in the 
> layer, but I think the problem is more basic (at least I hope it is.) 
> since the extents are so skewed.  Any help or a pointer to the right 
> manual would be greatly appreciated.

Paul,

The problem here is that without any coordinate system information for
your MrSIDs you are left playing the "guess the coordinate system" game.
And I would suggest that the rest of us out here in internet land have even
less to go on than you.

If you can't get information from the original MrSID producers, then you
will basically have to mess around with a variety of guesses.  The coordinates
for your raster are enormous.  If they are in meters then 11 million meters
is roughly 1/4 of the way around the world from the projection origin.

The ratio of x to y coordinates is quite different between the vector and
raster data, so if they are near each other in the real world, it is unlikely
this is just a units issue.

I hate playing guess the coordinate system.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list