Changeset 7418


Ignore:
Timestamp:
02/10/11 09:37:42 (14 years ago)
Author:
jschierm
Message:

kml: added latsgn parameter and converted to using lat/long rather than x/y.

Location:
issm/trunk/src/m/kml
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/kml/kml_mesh_elem.m

    r7342 r7418  
    6363if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    6464   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    65     if     ~exist('latsgn')
     65    if     ~exist('latsgn','var')
    6666        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    6767    elseif (abs(latsgn) ~= 1)
  • issm/trunk/src/m/kml/kml_mesh_write.m

    r7346 r7418  
    6969if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    7070   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    71     if     ~exist('latsgn')
     71    if     ~exist('latsgn','var')
    7272        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    7373    elseif (abs(latsgn) ~= 1)
  • issm/trunk/src/m/kml/kml_part_edges.m

    r7342 r7418  
    6464if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    6565   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    66     if     ~exist('latsgn')
     66    if     ~exist('latsgn','var')
    6767        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    6868    elseif (abs(latsgn) ~= 1)
  • issm/trunk/src/m/kml/kml_part_elems.m

    r7342 r7418  
    6464if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    6565   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    66     if     ~exist('latsgn')
     66    if     ~exist('latsgn','var')
    6767        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    6868    elseif (abs(latsgn) ~= 1)
  • issm/trunk/src/m/kml/kml_part_flagedges.m

    r7342 r7418  
    5656if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    5757   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    58     if     ~exist('latsgn')
     58    if     ~exist('latsgn','var')
    5959        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    6060    elseif (abs(latsgn) ~= 1)
  • issm/trunk/src/m/kml/kml_partitions.m

    r7342 r7418  
    6565if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    6666   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    67     if     ~exist('latsgn')
     67    if     ~exist('latsgn','var')
    6868        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    6969    elseif (abs(latsgn) ~= 1)
  • issm/trunk/src/m/kml/kml_unsh_edges.m

    r7342 r7418  
    5656if isempty(md.lat)  || ((numel(md.lat) == 1)  && isnan(md.lat)) || ...
    5757   isempty(md.long) || ((numel(md.long) == 1) && isnan(md.long))
    58     if     ~exist('latsgn')
     58    if     ~exist('latsgn','var')
    5959        error(['Missing ''latsgn'' parameter to calculate missing lat/long data.']);
    6060    elseif (abs(latsgn) ~= 1)
Note: See TracChangeset for help on using the changeset viewer.