Skip to content

Commit

Permalink
updating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bertt committed Oct 5, 2024
1 parent 96e6444 commit 4422b15
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 84 deletions.
30 changes: 0 additions & 30 deletions geoarrow/GeoArrowReader.cs

This file was deleted.

14 changes: 0 additions & 14 deletions geoarrow/geoarrow.csproj

This file was deleted.

2 changes: 1 addition & 1 deletion geoparquet.codegen/geoparquet.codegen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NJsonSchema.CodeGeneration.CSharp" Version="11.0.2" />
<PackageReference Include="NJsonSchema.CodeGeneration.CSharp" Version="11.0.2" />

</ItemGroup>

Expand Down
6 changes: 0 additions & 6 deletions geoparquet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{92F55511
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "geoparquet.codegen", "geoparquet.codegen\geoparquet.codegen.csproj", "{66E7D036-F63B-46D4-AB4C-69EC1E21C437}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "geoarrow", "geoarrow\geoarrow.csproj", "{B248BBD6-C347-484F-90DC-D8E0445223AC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "geoparquet-tools", "geoparquet-tools\geoparquet-tools.csproj", "{7AA60A0A-12D7-4B0C-BC08-B210B27D1C54}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B583E30A-1019-4222-A379-D5EF627091D1}"
Expand Down Expand Up @@ -45,10 +43,6 @@ Global
{66E7D036-F63B-46D4-AB4C-69EC1E21C437}.Debug|Any CPU.Build.0 = Debug|Any CPU
{66E7D036-F63B-46D4-AB4C-69EC1E21C437}.Release|Any CPU.ActiveCfg = Release|Any CPU
{66E7D036-F63B-46D4-AB4C-69EC1E21C437}.Release|Any CPU.Build.0 = Release|Any CPU
{B248BBD6-C347-484F-90DC-D8E0445223AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B248BBD6-C347-484F-90DC-D8E0445223AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B248BBD6-C347-484F-90DC-D8E0445223AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B248BBD6-C347-484F-90DC-D8E0445223AC}.Release|Any CPU.Build.0 = Release|Any CPU
{7AA60A0A-12D7-4B0C-BC08-B210B27D1C54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7AA60A0A-12D7-4B0C-BC08-B210B27D1C54}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AA60A0A-12D7-4B0C-BC08-B210B27D1C54}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
27 changes: 0 additions & 27 deletions geoparquet.tests/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Apache.Arrow.Ipc;
using geoarrow;
using NetTopologySuite.Geometries;
using NetTopologySuite.IO;
using ParquetSharp;
Expand Down Expand Up @@ -29,32 +28,6 @@ public void ReadUtrechtKunstwerkenFileToDataFrame()
//var dataframe =file1.ToDataFrame();
}

[Test]
public void ReadUtrechtKunstwerkenFile()
{
var file = "testfixtures/utrecht_kunstwerken.parquet";
var file1 = new ParquetFileReader(file);
var geoParquet = file1.GetGeoMetadata();
var rowGroupReader = file1.RowGroup(0);
var geomColumnId = GetColumnId(rowGroupReader, "xy");
if (geoParquet != null)
{
Assert.That(geoParquet.Columns.First().Value.Encoding == "geoarrow.point");

if (geomColumnId != null)
{
var reader = rowGroupReader.Column((int)geomColumnId).LogicalReader<Double?[]>();
var geoArowReader = new GeoArrowReader();
var geoms = geoArowReader.Read(reader);

var firstPoint = (Point)geoms[0].Geometry;

Assert.That(firstPoint.X == 5.130985969530343);
Assert.That(firstPoint.Y == 52.089758941656768);
}
}
}

[Test]
public void ReadGeoParquetArrowPolygonFile()
{
Expand Down
9 changes: 4 additions & 5 deletions geoparquet.tests/geoparquet.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

<ItemGroup>
<PackageReference Include="Apache.Arrow" Version="17.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NetTopologySuite" Version="2.5.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -26,7 +26,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\geoarrow\geoarrow.csproj" />
<ProjectReference Include="..\src\geoparquet.csproj" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/geoparquet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ParquetSharp" Version="15.0.2.1" />
<PackageReference Include="ParquetSharp" Version="16.1.0" />
</ItemGroup>

</Project>

0 comments on commit 4422b15

Please sign in to comment.