using a png image with the mapping functions

10 views (last 30 days)
mpolder
mpolder on 4 Sep 2013
Edited: jonas on 14 Aug 2018
Currently we show a map using the coast and topo data sets along with the geoshow function and then plot various data on top of it. I'd like to use a satellite image (e.g. http://eoimages.gsfc.nasa.gov/images/imagerecords/74000/74518/world.topo.200412.3x5400x2700.png) and then plot a lat/lon grid on top of it and then use the geoshow and plotm functions with it. How would this best be done? I've tried the geoshow(image, R) but I don't get my pretty picture:
a = imread('world.topo.200412.3x5400x2700.png');
spacing = 180/2700;
geoshow(a, [spacing, 90, -180]);
Thanks for any help.
  3 Comments
Chad Greene
Chad Greene on 14 Aug 2018
The first question is figuring out what map projection was used to create the png image, because you'll need to use the same projection when plotting coast lines.
jonas
jonas on 14 Aug 2018
Edited: jonas on 14 Aug 2018
I believe there's a fileexchange function somewhere that let's you navigate through gps images. Will see if I can find.
EDIT: this one I believe ( link ). And here's another one ( link )

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!