Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Crouse committed Nov 14, 2024
1 parent 270524d commit dd6b15b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions Misc/Maps/getGSHHGBoundaryData.m
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,7 @@
vertices=vertices(1:numPolyTaken);

mapData.latLonRecDeg=latLonRecDeg;
mapData.vertices=vertices;
mapData.headerInfo=headerInfo;
mapData.shapeInfo=shapeInfo;


%Sort the vertices and First sort by level number. Levels 1, 5,and 6
%stay at the top, then levels 2 and 3.
Expand Down Expand Up @@ -606,6 +604,10 @@
firstChildIdx=[];
end

mapData.vertices=vertices;
mapData.headerInfo=headerInfo;
mapData.shapeInfo=shapeInfo;

%Fill the structure to return.
childStructureInfo.numRootParents=int32(numRootParents);
childStructureInfo.maxChildLevel=int32(maxChildLevel);
Expand Down
8 changes: 4 additions & 4 deletions Misc/Maps/pointIsOnLand.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
% getGSHHGBoundaryData function; see the comments to that
% function for more details on the format. This function
% supports dataType=0 maps from that function for
% determinign if a popints is on land, or assuming the
% points is on land, one can pass dataType=1 data to
% determine whether or not the point is on a navigabel river
% determining if a point is on land, or assuming the
% point is on land, one can pass dataType=1 data to
% determine whether or not the point is on a navigable river
% (so isOnLand=false) or is not on the river
% (isOnLand=true).
%
Expand All @@ -40,7 +40,7 @@
%searched to determine whether it is one land, in a lake, etc.
%
%EXAMPLE 1:
%This initial example plots Eurpe without lakes and tests a grid of points
%This initial example plots Europe without lakes and tests a grid of points
%for being on land or not. Those points that are on land are displayed in
%magents and those in the water are cyan.
% latLonRecDeg=[30;60;-30;30];
Expand Down

0 comments on commit dd6b15b

Please sign in to comment.