peSHIr.GEF 1.0.0

Prefix Reserved
dotnet add package peSHIr.GEF --version 1.0.0
                    
NuGet\Install-Package peSHIr.GEF -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="peSHIr.GEF" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="peSHIr.GEF" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="peSHIr.GEF" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add peSHIr.GEF --version 1.0.0
                    
#r "nuget: peSHIr.GEF, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package peSHIr.GEF@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=peSHIr.GEF&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=peSHIr.GEF&version=1.0.0
                    
Install as a Cake Tool

About

What's this?

This library contains some code to read Geotechnical Exchange Format (or *.gef) files used for cone penetration test (or CPT) data.

Who created this?

My name is Jarno Peschier. I started programming on a Commodore 64 in high school, got a masters degree in Computer Science at Utrecht University at the end of the last century, specializing in GIS algorithms, and I have been developing software all my professional life.

You might also know me by my online name of peSHIr, which is basically the way you write my last name phonetically in Klingon.

At the start of 2025 I worked as a software engineer at Dutch engineering firm Iv, where I personally handled all software development around our scan vehicle (YouTube) using multiple third party software packages, C#, and PowerShell.

The laserscan and photo data Iv collects using this vehicle is used in infrastructure projects all over the Netherlands, but also for monitoring things like trees or quay walls in Amsterdam.

How do I use it?

using peSHIr.Progress; // from https://www.nuget.org/packages/peSHIr.Core
using peSHIr.FileFormat.GEF;
//...
IShowProgress gui = new peSHIr.CmdLine.ConsoleProgress();
GefFile data = GefFileReader.Read("file path", gui); // or just pass null for the IShowProgress parameter

Known issues

Apparently .NET Core no longer contains all the code page support .NET Framework contained by default, so you need some extra stuff for this if you need it.

However, it seems I still might do not seem to have windows-1252 encoding support down quite yet in .NET Core, so if you try to read GEF files that contain accented characters in text values these might not quite come out right in this version, I'm afraid?

Download

This library is available as a NuGet package on https://nuget.org. To install it, use the following command-line:

dotnet add package peSHIr.GEF

License and Versioning

This library is licensed under the MIT License - please see the LICENSE file for details - and makes use of Semantic Versioning to try and give meaning to the version numbers, at least for the non-prereleased stuff.

Credits

This library wouldn't have been possible without the following:

Show your appreciation for my work

If you like what you see/use you could try one of these links to let me know:

You may also like

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 83 8/1/2025

This code has been relatively stable for years now, so many changes from this version 1.0.0 are not expected.