From: LindsE on 12 Apr 2010 08:49 Hi there; I believe this may be a fairly trivial job, but I'm certainly having trouble with it as I'm new to such mapping functions. I'm attempting to plot a Geotiff image in Matlab. I am able to view the image using: mapshow(filename) but the projection, as found using "geotiffinfo" is: GCS = Unknown datum based upon the Authalic Sphere Datum = Not specified (based on Authalic Sphere) Ellipsoid = Sphere CT Projection = CT_Stereographic I want to somehow rotate the image such that it appears on a Mercator Projection Map. Based on what I've read, I understand that geoshow would be a good way to do this, but when I try to plot: geoshow(filename) I get a memory error: "??? Error using ==> mtimes Out of memory. Type HELP MEMORY for your options. Error in ==> pix2map at 45 t = [row col] * R(1:2,:); Error in ==> pixedges at 43 [x,y] = pix2map(R,r,c); Error in ==> buildRasterData>buildTextureComponent at 272 [y, x] = pixedges(R, sz); Error in ==> buildRasterData at 62 rasterdata = buildFcn(mapfilename, dataArgs, buildArgs{:}); Error in ==> georastershow at 149 rasterdata = buildRasterData( ... Error in ==> geoshow at 256 h = showFcn(varargin{:});" Can anyone offer a suggestion as to how I might be able to put this image on a more common projection, it would certainly be appreciated. Thanks in advance; Lindsay
|
Pages: 1 Prev: How do I change the axes on an image? Next: Exporting figure commands |