www.gusucode.com > map 案例源码 matlab代码程序 > map/FindLengthOfGeoshapeVectorExample.m

    %% Find Length of geoshape Vector
% 
%%
% Create a geoshape vector and find its length.
load coastlines
s = geoshape(coastlat, coastlon);
length(s)
length(coastlat)