Changeset 15176


Ignore:
Timestamp:
05/30/13 11:56:19 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/googlemaps.m

    r15175 r15176  
    145145%reproject from mercator (EPSG:3785) to UPS Ant (EPSG:3031)
    146146[status,result] = system(['gdalwarp  -s_srs ' EPSGgoogle ' -t_srs ' EPSGlocal ' temp.tiff temp2.tiff']);
    147 disp(result);result(1:5); %required otherwise strncmp does not work...
     147result(1:5); %required otherwise strncmp does not work...
    148148delete('temp.tiff','temp.tfw');
    149149
    150150%If previous command failed, exit
    151151if strncmp(result,'ERROR',5),
     152        disp(result);
    152153        disp('googlemaps info: gdal not working properly (missing proj.4 library?), the Google image will not be transformed');
    153154        [gX gY]=meshgrid(ulx:ulx+size(final,2)-1,uly:-1:uly-size(final,1)+1);
Note: See TracChangeset for help on using the changeset viewer.