Skip to content

Commit

Permalink
Nuget: DotSpatial.Projections to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Feb 7, 2023
1 parent fad1593 commit 34bdf12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<NoWarn>1701;1702;NU1605</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotSpatial.Projections" Version="4.0.656" />
<PackageReference Include="DotSpatial.Projections" Version="3.0.1" />
<PackageReference Include="DotSpatial.Topology" Version="1.9.0" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion ExtLibs/Utilities/MissionPlanner.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PackageReference Include="BitMiracle.LibTiff.NET" Version="2.4.584.1" />
<PackageReference Include="csmatio" Version="1.0.20" />
<PackageReference Include="DotNetZip" Version="1.16.0" />
<PackageReference Include="DotSpatial.Projections" Version="4.0.656" />
<PackageReference Include="DotSpatial.Projections" Version="3.0.1" />
<PackageReference Include="ExifLibNet" Version="2.1.3" />
<PackageReference Include="Flurl" Version="3.0.2" />
<PackageReference Include="Flurl.Http" Version="3.2.0" />
Expand Down
7 changes: 6 additions & 1 deletion GCSViews/FlightPlanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3543,7 +3543,12 @@ public void fromSHPToolStripMenuItem_Click(object sender, EventArgs e)
Reproject.ReprojectPoints(xyarray, zarray, pStart, pESRIEnd, 0, 1);
point.X = xyarray[0];
point.Y = xyarray[1];
point.Z = zarray[0];
try
{
if (zarray[0] != double.NaN)
point.Z = zarray[0];
}
catch { }
}

drawnpolygon.Points.Add(new PointLatLng(point.Y, point.X));
Expand Down
2 changes: 1 addition & 1 deletion MissionPlanner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
<PackageReference Include="DotSpatial.Extensions" version="3.0.1" targetFramework="net462" />
<PackageReference Include="DotSpatial.Modeling.Forms" version="3.0.1" targetFramework="net462" />
<PackageReference Include="DotSpatial.Positioning" Version="3.0.1" />
<PackageReference Include="DotSpatial.Projections" version="4.0.656" targetFramework="net462" />
<PackageReference Include="DotSpatial.Projections" version="3.0.1" targetFramework="net462" />
<PackageReference Include="DotSpatial.Projections.Forms" version="3.0.1" targetFramework="net462" />
<PackageReference Include="DotSpatial.Serialization" version="3.0.1" targetFramework="net462" />
<PackageReference Include="DotSpatial.Symbology" version="3.0.1" targetFramework="net462" />
Expand Down

0 comments on commit 34bdf12

Please sign in to comment.