Why won't geoshow texture-map the globe with my JPEG?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm using the Mapping Toolbox and would like to texture-map a 3-D globe with a 2000 x 1000 pixel world image in JPEG format. The image came without an associated world file, so I created one using the online calculator at http://egb13.net/2009/03/worldfile-calculator/. The image spans the whole globe, from -90 to +90 deg lat and longitude cut at -174 deg. I assumed no skewness, so the world file looks like:
0
0
0
-0.18
-174.0
89.91
My code first calls axesm to create a map axes with MapProjection set to 'globe'. Next I call geoshow, passing it the path and name of my .jpg file. (The world file sits in the same directory, and has a .jwg extension.) The problem is that the image doesn't appear, even though the handle from the geoshow call indicates that its parent is the map axes, FaceColor is 'texturemap', and Visible is 'on'. Any ideas how to fix this?
-Jim
0 comentarios
Respuestas (1)
Darin McCoy
el 29 de Ag. de 2012
I'm not sure about your particular question - but there are some neat FEX submissions related to globe mapping....for example - check out this one
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!