Changeset 22920


Ignore:
Timestamp:
07/13/18 14:08:48 (7 years ago)
Author:
Eric.Larour
Message:

CHG: added polygon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/shp/shpwrite.m

    r16718 r22920  
    1818        if strcmpi(shp(i).Geometry,'Point'),
    1919                contours(i).Geometry='Point';
    20         else strcmpi(shp(i).Geometry,'Polygon'),
     20        elseif strcmpi(shp(i).Geometry,'Polygon'),
    2121                contours(i).Geometry='Polygon';
     22        elseif strcmpi(shp(i).Geometry,'Line'),
     23                contours(i).Geometry='Line';
    2224        end
    2325        contours(i).id=i;
Note: See TracChangeset for help on using the changeset viewer.