Changeset 17346


Ignore:
Timestamp:
02/24/14 13:23:08 (11 years ago)
Author:
cborstad
Message:

BUG: better support for line layers with multiple features

File:
1 edited

Legend:

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

    r17026 r17346  
    3737                elseif strcmpi(shp(i).Geometry,'Line'),
    3838                        x=shp(i).X; y=shp(i).Y;
     39                        x(end)=x(1); y(end)=y(1);
    3940                        expstruct(end+1).x=x;
    4041                        expstruct(end).y=y;
    41                         expstruct.x(end)=x(1);
    42                         expstruct.y(end)=y(1);
    4342                        expstruct(end).nods=length(x);
    4443                        expstruct(end).density=1;
Note: See TracChangeset for help on using the changeset viewer.