Community Profile

Rob Comer

MathWorks

Last seen: 4 mesi fa Attivo dal 2011

Rob Comer is the Mapping Toolbox(TM) development lead at The MathWorks, Inc.

Professional Interests: software engineering, geodesy and geophysics, photogrammetry and image processing, geographic information systems

All

Content Feed

Visto da

Risposto
Calculate distance between two coordinates with depth
As Dr. Kearney suggested, the Mapping Toolbox can help. If you have it, try using ecefOffset. It computes the 3-D offset vector ...

7 mesi fa | 0

Risposto
Need to Understand Treatment of Elevation in los2
LOS2 interpolates values along a profile between the specified points, then calculates visibility using that profile. So no, it ...

8 mesi fa | 0

| accettato

Risposto
Multiple geoplot lines with one call
You can use plot() to plot matrices in a geographic axes Any easy workaround is to (a) create a GeographicAxes object and (b) a...

11 mesi fa | 1

Risposto
Axes control for geoscatter, set the lat and lon limits and remove unwanted, repeated map geography
In your call to geolimits, you specifed latitude limits that extend all the way to the North Pole: geolimits([-70 90], [-179 17...

circa un anno fa | 0

| accettato

Risposto
MATLAB: save geospatial polygons in a *.kml file
See the example Write Polygon Data to KML File on the kmlwrite reference page.

circa un anno fa | 0

Risposto
load coast command not executing in 2018a, pls. suggest an alternative
Beginning in R2020b, coast.mat is no longer available in Mapping Toolbox. Please use its replacement, coastlines.mat, instead. T...

oltre un anno fa | 1

Risposto
display of natural earth shapefile as polygon
Hi Hanna, Try clipping the ocean polygon like this before calling geoshow: [oceanLat,oceanLon] = maptriml(oceanLat,oceanLon,[-...

oltre un anno fa | 1

| accettato

Risposto
polybool error because of invalid polygon
Errors like these can easily arise from small defects in the topology of the input polygons. The MATLAB polyshape class (with me...

circa 3 anni fa | 0

Risposto
Lambert vs. Lambert Standard
Typically, one would use lambertstd, especially if unprojecting an external dataset from x-y (easting-northing) to latitude-long...

circa 3 anni fa | 0

Risposto
Spatially thin out trajectory of 3D points
You'll have to write your own function, but the ecefOffset function in Mapping Toolbox can help. Try something like this (assumi...

circa 3 anni fa | 0

Risposto
Use custom basemap for geobubble function
With Mapping Toolbox and MATLAB R2018b or later, you can use the addCustomBasemap function with geobubble (and geoaxes).

circa 3 anni fa | 0

| accettato

Risposto
MATLAB: save geospatial polygons in a *.kml file
With Mapping Toolbox and MATLAB R2016a or later, you can use the kmlwritepolygon function.

circa 3 anni fa | 0

Inviato

fillfigure
Reset axes position and limits to fill figure.

Inviato

Earth Observing System Data Visualization
Read Earth Observing System (EOS) data products in HDF format and visualize them in MATLAB(R).

Inviato

colorscale
Add a color scale bar using part of the figure's colormap.

Risposto
is it possible to import GPS data in DDD format and create a map with the points plotted?

oltre 6 anni fa | 0

Risposto
Modify Labels on Contour Plots
R2014b and R2015a users can apply one of the workarounds available here: <http://www.mathworks.com/support/bugreports/1114747...

oltre 7 anni fa | 2

Risposto
Using pcolorm with irregular model grids
Hi Andrew, With an irregular grid, for which a full latitude-longitude geolocation mesh is needed, I think it's always approp...

oltre 7 anni fa | 0

Risposto
How does the contour plot with R2014b work?
You can avoid the problem with the clabel function, which is present in both R2014b and R2015a, by using one of the workarounds ...

oltre 7 anni fa | 0

Risposto
Exported figure size is huge and specified font of the label is ignored in 2014b
Regarding part 1 of this question, you can control the contour label FontName and other label text properties in R2014b or R2015...

oltre 7 anni fa | 0

Risposto
How to alter contour label properties?
If you download and install one of the workarounds available here for R2014b or R2015a: <http://www.mathworks.com/support/bugrep...

oltre 7 anni fa | 1

| accettato

Risposto
Fontsize in clabel with rotated labels 2014b
If you download and install one of the workarounds available here for R2014b or R2015a: <http://www.mathworks.com/support/bugrep...

oltre 7 anni fa | 0

Risposto
How do you format rotated text from clabel in MATLAB 2014b?
You can avoid this problem, which is present in both R2014b and R2015a, using one of the workarounds available here: <http://www...

oltre 7 anni fa | 0

Risposto
Problems with wrapTo180, creates lines on map
Instead of wrapping your longitudes, try using the maptriml function with latlim = [-90 90] and lonlim = [-180 180]. Because the...

circa 8 anni fa | 0

Risposto
How to find the border points for a set of latitude and longitude coordinates
With such a small data extent, you can probably ignore the wrapping of longitude around the earth when computing latitude and lo...

circa 8 anni fa | 0

Risposto
How to plot a shapefile on top of digital elevation model using mapshow (or other)
If you only wish to view your map in 2-D, you can plot the terrain raster in the z == 0 plane, like this: mapshow(zeros(siz...

circa 8 anni fa | 1

| accettato

Risposto
There are two different ESRI (Arc) Grid formats: the proprietary binary format, which is what you have, and the publicly documen...

oltre 8 anni fa | 0

| accettato

Risposto
How to use additional files like e.g. gshhs_h.b, WORLDDATAMAP, etc.?
You should first check that the mapdata folder is on your MATLAB path. You could then try: which gshhs_h.zip You may need ...

oltre 8 anni fa | 0

| accettato

Risposto
FaceAlpha of surf plot takes the first row and column twice
This variation does what I think you're hoping for: [X,Y] = meshgrid(1:5,1:5); Z = ones(5,5); C = ones(4,4); A = z...

oltre 8 anni fa | 0

| accettato

Risposto
Filling a polygon using an index and colormap
The key to making many thematic maps is to use the *makesymbolspec* function in combination with *geoshow* or *mapshow* . In thi...

circa 9 anni fa | 3

| accettato