Skip to content

Commit a83eb4d

Browse files
committed
Update dependency on GeoAPI.CoordinateSystems
(> 1.7.5-pre018) Update version to 1.4
1 parent 5ee7f69 commit a83eb4d

File tree

7 files changed

+35
-17
lines changed

7 files changed

+35
-17
lines changed

ProjNET.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Proj.NET performs point-to-point coordinate conversions between geodetic coordin
1515
<copyright>Copyright 2006-2015</copyright>
1616
<tags>OGC SFS Projection</tags>
1717
<dependencies>
18-
<dependency id="GeoAPI" version="[1.7.5-pre009, )" />
18+
<dependency id="GeoAPI.CoordinateSystems" version="[1.7.5-pre018, )" />
1919
</dependencies>
2020
</metadata>
2121
<files>

ProjNet.Common.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<PropertyGroup>
4+
<OutputPath>$(SolutionDir)$(Configuration)\$(Platform)</OutputPath>
5+
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<GeoAPIPackageReferenceVersion>1.7.5-pre018</GeoAPIPackageReferenceVersion>
8+
</PropertyGroup>
9+
</Project>

ProjNet.Tests/CoordinateTransformTests.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,13 @@ private sealed class CoordinateArraySequence : ICoordinateSequence
897897
public Coordinate GetCoordinateCopy(int i) => new Coordinate(this.coordinates[i]);
898898
public Coordinate GetCoordinate(int i) => this.coordinates[i];
899899
object ICloneable.Clone() => this.Clone();
900-
public CoordinateArraySequence Clone() => new CoordinateArraySequence(Array.ConvertAll(this.coordinates, c => new Coordinate(c)));
900+
public CoordinateArraySequence Clone() => (CoordinateArraySequence) Copy();
901+
902+
public ICoordinateSequence Copy()
903+
{
904+
return new CoordinateArraySequence(Array.ConvertAll(this.coordinates, c => new Coordinate(c)));
905+
}
906+
901907
public Coordinate[] ToCoordinateArray() => this.coordinates;
902908

903909
public ICoordinateSequence Reversed()

ProjNet.Tests/ProjNET.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
<SolutionDir Condition=" '$(SolutionDir)' == '' ">$(ProjectDir)..\</SolutionDir>
55
<TargetFramework>net45</TargetFramework>
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7-
<GeoAPIPackageReferenceVersion>1.7.5-pre4</GeoAPIPackageReferenceVersion>
8-
97
<!-- The NUnit 2 test adapter doesn't support portable PDBs. -->
108
<DebugType>full</DebugType>
119
</PropertyGroup>
1210

11+
<Import Project="$(SolutionDir)ProjNet.Common.props" />
12+
1313
<ItemGroup>
1414
<Reference Include="System" />
1515
<Reference Include="System.Data" />
1616
<Reference Include="System.Xml" />
1717
<Reference Include="System.Xml.Linq" />
1818

19-
<PackageReference Include="GeoAPI" Version="$(GeoAPIPackageReferenceVersion)" />
19+
<PackageReference Include="GeoAPI.CoordinateSystems" Version="$(GeoAPIPackageReferenceVersion)" />
2020
<PackageReference Include="NUnit" Version="2.6.4" />
2121
<PackageReference Include="Npgsql" Version="2.2.7" />
2222

ProjNet/ProjNET.csproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
<SolutionDir Condition=" '$(SolutionDir)' == '' ">$(ProjectDir)..\</SolutionDir>
66
<RootNamespace>ProjNet</RootNamespace>
77
<TargetFrameworks>net35-client;net40-client;net403-client;net45;netstandard1.0;netstandard2.0</TargetFrameworks>
8-
<OutputPath>$(SolutionDir)$(Configuration)\$(Platform)</OutputPath>
9-
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
10-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
11-
<GeoAPIPackageReferenceVersion>1.7.5-pre009</GeoAPIPackageReferenceVersion>
128
<SignAssembly>true</SignAssembly>
139
<AssemblyOriginatorKeyFile>$(SolutionDir)scskey.snk</AssemblyOriginatorKeyFile>
1410
</PropertyGroup>
1511

12+
<Import Project="$(SolutionDir)ProjNet.Common.props" />
13+
1614
<!-- Client Profile frameworks don't have built-in shortcuts, so we need to specify these. -->
1715
<PropertyGroup Condition=" '$(TargetFramework)' == 'net35-client' ">
1816
<TargetFrameworkIdentifier>.NETFramework</TargetFrameworkIdentifier>
@@ -68,7 +66,7 @@
6866
</PropertyGroup>
6967

7068
<ItemGroup>
71-
<PackageReference Include="GeoAPI" Version="$(GeoAPIPackageReferenceVersion)" />
69+
<PackageReference Include="GeoAPI.CoordinateSystems" Version="$(GeoAPIPackageReferenceVersion)" />
7270
</ItemGroup>
7371

7472
<ItemGroup>

ProjNet/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#endif
1111
[assembly: AssemblyCompany("")]
1212
[assembly: AssemblyProduct("Proj.NET")]
13-
[assembly: AssemblyCopyright("Copyright © 2009 - 2015 Morten Nielsen, NetTopologySuite - Team")]
13+
[assembly: AssemblyCopyright("Copyright © 2009 - 2018 Morten Nielsen, NetTopologySuite - Team")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616
[assembly: System.CLSCompliant(true)]
@@ -20,5 +20,5 @@
2020
#if HAS_SYSTEM_RUNTIME_INTEROPSERVICES_GUIDATTRIBUTE
2121
[assembly: Guid("e16f3ac5-214b-4ef3-9809-740a13cf0ec7")]
2222
#endif
23-
[assembly: AssemblyVersion("1.3.2.0")]
24-
[assembly: AssemblyFileVersion("1.3.2.0")]
23+
[assembly: AssemblyVersion("1.4.0.0")]
24+
[assembly: AssemblyFileVersion("1.4.0.0")]

ProjNet4GeoAPI.sln

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2012
4-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjNET", "ProjNet\ProjNET.csproj", "{E028BDD2-55E1-4E5F-BE31-35FAEC8D6428}"
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27130.2036
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProjNET", "ProjNet\ProjNET.csproj", "{E028BDD2-55E1-4E5F-BE31-35FAEC8D6428}"
57
EndProject
68
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AC62B826-FD1B-43B9-9E20-696588E560E7}"
79
ProjectSection(SolutionItems) = preProject
10+
ProjNet.Common.props = ProjNet.Common.props
811
ProjNET.nuspec = ProjNET.nuspec
912
TeamCity.targets = TeamCity.targets
1013
EndProjectSection
1114
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjNET.Tests", "ProjNet.Tests\ProjNET.Tests.csproj", "{67E8C952-1F48-4DFB-9507-BD44DB6784FD}"
15+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProjNET.Tests", "ProjNet.Tests\ProjNET.Tests.csproj", "{67E8C952-1F48-4DFB-9507-BD44DB6784FD}"
1316
EndProject
1417
Global
15-
1618
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1719
Debug|Any CPU = Debug|Any CPU
1820
Release|Any CPU = Release|Any CPU
@@ -30,4 +32,7 @@ Global
3032
GlobalSection(SolutionProperties) = preSolution
3133
HideSolutionNode = FALSE
3234
EndGlobalSection
35+
GlobalSection(ExtensibilityGlobals) = postSolution
36+
SolutionGuid = {8E72A6F0-7BCE-400D-A437-BE88560B578E}
37+
EndGlobalSection
3338
EndGlobal

0 commit comments

Comments
 (0)