Why am I getting an incorrect wmsread error?
1 view (last 30 days)
Show older comments
I'm trying to plot a map within the area latlim = [30 75] lonlim = [-25 45], and I get an error saying that WMSMapRequest epected a Latlim value within the range [-90 90]. My latlim value is within that range.
What went wrong?
My matlab entries are as follows:
>> worldmap(latlim,lonlim)
>> mstruct = gcm;
>> [elImg,R]=wmsread(etopo1_update,'Latlim',latlim,'Lonlim',lonlim);
Error using WMSMapRequest>validateLatlim (line 1281)
Expected the 'Latlim' value to be in the interval [-90, 90].
Error in WMSMapRequest>validateLayerProperties (line 1164)
validateLatlim(layer(k).Latlim, layer, WMSMapRequest.DefaultCRS);
Error in WMSMapRequest/setProperties (line 845)
self.pLayer = validateLayerProperties(layer, self.Server);
Error in WMSMapRequest (line 519)
self = setProperties(self, layer);
Error in wmsread (line 353)
mapRequest = WMSMapRequest(layerOrURL);
>>
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!