Skip to content

Commit

Permalink
Updates for v2. (#8)
Browse files Browse the repository at this point in the history
- All CoordinateSystems types are gone (resolves #7)
- The extension methods dealing with ID values on IFeature instances are gone
    - to be moved to GeoJSON
- (I)AttributesTable now has GetOptionalValue (resolves #3)
- FeatureCollection now inherits from Collection<Feature>
- [Serializable] is now implemented via ISerializable
  • Loading branch information
airbreather authored Aug 23, 2019
1 parent 3840d11 commit 3fd48b7
Show file tree
Hide file tree
Showing 34 changed files with 1,044 additions and 1,064 deletions.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
language: csharp
mono: none
sudo: false
dotnet: 2.2
dist: xenial


script:
- dotnet build -c Release
- dotnet test -c Release --no-build
- dotnet pack -c Release --no-build -p:NoWarn=NU5105


deploy:


- on:
branch: master
provider: script
script:
- dotnet nuget push **/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
skip_cleanup: true


- on:
branch: develop
provider: script
script:
- dotnet nuget push **/*.nupkg -s https://www.myget.org/F/nettopologysuite/api/v2/package -k $MYGET_API_KEY
skip_cleanup: true

env:
global:
- secure: LAI6KJjHA1usZL9Vm3BhLH2JpaukKFXe6OkWM9ahldsDbAqkScWfVIrBtQ0h0SteSpXTXTQDY35pFEuo3MUBmYcJo8NbgDd2f0u078lU6YFfQiHQnPqA8E1m6l+tCy8MTBHM2zePMYYOsyx4k0kOxZIjYK0RwhfmfDsG5QUjXYcABLK11z76vAl4ULIfYfvEnDF7hXbTOM+7XYS72Ve6q5LsNmS1kDGN1n6z8q6Phjac2254WTpUtSTv4u2wNnHYHIc7h7C3OBB6b7y5+pj6WEM2+r5ojs+Gq7QajK9VHNyYHRkUsCzbQKkSPrgskt10kKml3tcmdTCJshUq9nAE27qiCFc6OQO9iMtTh1m2ueZpeflyIhleGmMk12WHuqj1GmYH/8IQw75KzzezcyjuG19OJsL4QAT5FLMAdDfvckUgjY4+0bxPVI3hnWGnrvnrJA0aWXi9s7r+kT6SxI1MvZph7RqDlxC9/Mjt6lrzjMXvBJSf3vAyOGISF1bTOi+/bj586j7V0uagEYSy5tnj5+j/2wsbYcrb+5veVqYl0inPRYbrAAfaPnBux7ZJ/ZP7XggLnUVV0ZkSrqn1NLfEH6nZ30JCVbP9KX4Ztz00sIuHirqq5rhudHOSxL27+RNSX2RosnWDDMcNew6tRhOlSGZ1uZEekypnhvTK+0Ijzso=
- secure: gIlRSvxCO2AzEqiAzGVdowdkqyrlPw0BovjkyFC4HxRsvx7uc9RORv9lCRGR7ni7Z54QbG0DeLXK4PDxPAD6DlZpR8/2NsCLl1JSswRwQYddGsS1HBGTvUJE08RGlwdPYxhAUkz4jargs3EJnTq4TnqEkAzpYaLBSv4om2Q6VsoEe8Uat2iSoK0+NJD9EG++T0Szx2VsgF0M6ILIpYi0ICEqyK0Jb83ZW/78W5na4IN0ZnIOGoG0qeD5wMoOxq8OmnlSnKNJmsZI8LFEvMZu/QGb8YXz2aim+k0UE9kGa1sE/qweSyPtJuTIhUXqvefMZLfDzGIZVz1htvRRzcOQ1Cbh97T853UZiUHZgy+y5qFtuPxzXAt7eCvfTcjJjRDdXWRw7+NxyceEtQ1u4YSZ9yQLvwUyzhZukZXdclQ74k6GK2Wbohrt4lEADvnzm/PlCCYklv8b7TyKZdVRTILsFJ7eA3zZ8sXCbF8q2TG4BADJRkWxH+S/RdSeBkoiSlW43faFxUVHcC7yjBJshKbdBrQzncZG+7EFgUtw1hufXlwiSpWK0B01gYrsgYYPKYCbGidOJAMRjybyVYA8XfTPraeO7rw0b872jmGAv9TSVXvg+AwMGlnpOC+6n7Q+BL6qU/Q5Hnzi3YMg357qe2BgLJUGXwza/tEnJEeHbqXViZk=
10 changes: 10 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<PropertyGroup>
<SolutionDir Condition=" '$(SolutionDir)' == '' ">$(MSBuildThisFileDirectory)</SolutionDir>

<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)nts.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

</Project>
73 changes: 0 additions & 73 deletions NetTopologySuite.Common.props

This file was deleted.

14 changes: 0 additions & 14 deletions NetTopologySuite.Features.Test/AttributeTableTest.cs

This file was deleted.

13 changes: 0 additions & 13 deletions NetTopologySuite.Features.Test/FeatureTest.cs

This file was deleted.

20 changes: 0 additions & 20 deletions NetTopologySuite.Features.Test/FeaturesTestSetup.cs

This file was deleted.

This file was deleted.

84 changes: 0 additions & 84 deletions NetTopologySuite.Features.nuspec

This file was deleted.

11 changes: 4 additions & 7 deletions NetTopologySuite.Features.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
# Visual Studio Version 16
VisualStudioVersion = 16.0.29009.5
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetTopologySuite.Features", "NetTopologySuite.Features\NetTopologySuite.Features.csproj", "{43865E17-0311-4F52-A8A9-00334DD8F76A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetTopologySuite.Features", "src\NetTopologySuite.Features\NetTopologySuite.Features.csproj", "{43865E17-0311-4F52-A8A9-00334DD8F76A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8896CE87-BB66-4E1B-BE38-2491C949D7E5}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
NetTopologySuite.Common.props = NetTopologySuite.Common.props
NetTopologySuite.Features.nuspec = NetTopologySuite.Features.nuspec
SharedAssemblyVersion.cs = SharedAssemblyVersion.cs
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetTopologySuite.Features.Test", "NetTopologySuite.Features.Test\NetTopologySuite.Features.Test.csproj", "{AB86A1F4-C37C-46FF-BF5D-0A44B175FE07}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetTopologySuite.Features.Test", "test\NetTopologySuite.Features.Test\NetTopologySuite.Features.Test.csproj", "{AB86A1F4-C37C-46FF-BF5D-0A44B175FE07}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
24 changes: 0 additions & 24 deletions NetTopologySuite.Features/CoordinateSystems/CRSBase.cs

This file was deleted.

21 changes: 0 additions & 21 deletions NetTopologySuite.Features/CoordinateSystems/CRSType.cs

This file was deleted.

13 changes: 0 additions & 13 deletions NetTopologySuite.Features/CoordinateSystems/ICRSObject.cs

This file was deleted.

Loading

0 comments on commit 3fd48b7

Please sign in to comment.