Answered
Getting borders to appear on a map
Your call to geoshow isn't showing land areas west of -180 degrees because its working in an ordinary axes. Try setting up a map...

9 years ago | 2

| accepted

Answered
Why is the mapping toolbox not drawing this line?
As indicated in my earlier comment, the answer is to use the geoshow function. Its method for clipping lines is far more sophist...

9 years ago | 2

| accepted

Answered
Contourm, geoshow, and layering issues (R2012b) change
The platform-specific nature of this problem makes me think about graphics rendering. I can reproduce the problem in R2013a on m...

9 years ago | 0

| accepted

Answered
Contourm issue with polar stereographic map projection
There are two ways to specify geometry in contourfm, like this: contourfm(lat,lon,Z,...) as you have done, where lat and...

9 years ago | 0

Answered
Creating DEM in matlab
You could start with the resources listed here: <http://www.mathworks.com/help/map/finding-geospatial-data.html> Check the...

9 years ago | 0

Answered
Mapping toolbox: plotm strange behavior
Try using the newer geoshow function instead of plotm. All the lines are displayed if I replace plotm(lat,lon,'-k') with...

10 years ago | 0

Answered
.shp and .xyz files mapped with geoshow
DisplayType 'contour' is for use with data grids only, but it seems that you have a line shapefile. You can plot the lines from...

10 years ago | 0

Answered
continuous contours in sphere map
I think you can get griddata to approximate the spherical topology by replicating some of your scattered input points before cal...

10 years ago | 0

Answered
Geotiffwrite without compression
You almost have it. As the error (and help) indicate, you need to follow 'TiffTags' with a structure when calling geotiffwrite. ...

10 years ago | 2

| accepted

Answered
Using USGS DEMs in Mapping Toolbox
Try downloading your data sets in GeoTIFF format, then use geotiffread. It's not limited to images; it can be used for DEMs as w...

10 years ago | 1

| accepted

Answered
projection of data with given lon,lat
If you have axesm, that means you have Mapping Toolbox, so try the scatterm function.

10 years ago | 0

Answered
Export to shape file or other vector format
There's <http://www.mathworks.com/help/toolbox/map/ref/shapewrite.html shapewrite> in Mapping Toolbox.

10 years ago | 0

| accepted

Answered
path elevation profile
And there's <http://www.mathworks.com/help/toolbox/map/ref/mapprofile.html mapprofile> in Mapping Toolbox.

10 years ago | 0

Answered
Error with quiverm function
Unlike quiver, quiverm does not automatically expand its first two inputs if they are vectors and the third and fourth inputs ar...

10 years ago | 0

Answered
worldmap not working
Relative to your MATLAB root directory, the fromDegrees function should be located in toolbox/shared/maputils. This is true in a...

10 years ago | 0

Answered
how to increase the resolution of latitude longitude gird ???
To change the default meridian and parallel spacing after creating a map axes with worldmap, set the MLineLocation and PLineLoca...

11 years ago | 0

| accepted

Answered
Plot data on a thematic map
You need to use makesymbolspec. Here's a simple example that constructs and applies a symbol spec for a numerical attribute of a...

11 years ago | 1

Answered
How to fill coastline polygon
Mapping Toolbox has two functions for plotting filled polygons: geoshow and mapshow, as well as a low-resolution coastline data ...

11 years ago | 1

Answered
Linearizing a map projection using gps co ordinates
I'm not sure what's meant by earth coordinates -- geodetic latitude, longitude, and height? Or perhaps you're using an earth-cen...

11 years ago | 0

Answered
Exporting Longitude/Latitude vectors into a shapefile in Matlab
Question 1: Just to clarify a little -- a geostruct needs to have Lat and Lon fields in a geographic coordinate system. Their co...

11 years ago | 2

Answered
Must I change the geoid using UTM projection?
In order to work with Google Earth, you should specify the WGS 84 ellipsoid in your code by replacing lines 4 and 5 with: ...

11 years ago | 1

| accepted

Answered
Exporting matlab matrices to ESRI ArcMap
ArcGIS can read GeoTIFF format. If you have R2011a, perhaps you could write your ocean current grid to a GeoTIFF file using the ...

11 years ago | 1

Answered
Export mapstruct to KML
Exporting point data to KML is supported by the Mapping Toolbox function kmlwrite: <http://www.mathworks.com/help/toolbox/m...

11 years ago | 0

| accepted

Answered
using worldmap in 0 to 360 longitude
Another approach is to follow worldmap world with setm(gca,'Origin',[0 180]) in order to preserve the other worl...

11 years ago | 1

Answered
control makesymbolspec and colorbar color assignment, e.g. linear vs. logarithmic
Consider shifting your data rather than the colormap. You could write a function that maps values < 2 to 1, values in the int...

11 years ago | 0

| accepted

Answered
getworldfilename uses
It looks like your goal is to create a new worldfile. You can use the Mapping Toolbox |worldfilewrite| function to do that.

11 years ago | 0