BlueTusk.Extensions.PostGIS
1.0.0
See the version list below for details.
dotnet add package BlueTusk.Extensions.PostGIS --version 1.0.0
NuGet\Install-Package BlueTusk.Extensions.PostGIS -Version 1.0.0
<PackageReference Include="BlueTusk.Extensions.PostGIS" Version="1.0.0" />
<PackageVersion Include="BlueTusk.Extensions.PostGIS" Version="1.0.0" />
<PackageReference Include="BlueTusk.Extensions.PostGIS" />
paket add BlueTusk.Extensions.PostGIS --version 1.0.0
#r "nuget: BlueTusk.Extensions.PostGIS, 1.0.0"
#:package BlueTusk.Extensions.PostGIS@1.0.0
#addin nuget:?package=BlueTusk.Extensions.PostGIS&version=1.0.0
#tool nuget:?package=BlueTusk.Extensions.PostGIS&version=1.0.0
BlueTusk.Extensions.PostGIS
Stable PostGIS transport support for BlueTusk. The package registers distinct
BlueTuskGeometry and BlueTuskGeography CLR values, native EWKB binary
transport, WKT/EWKT text input, hexadecimal EWKB text fallback, array
composition, and parameter inference.
using BlueTusk.Data;
using BlueTusk.Extensions.PostGIS;
await using var dataSource = new BlueTuskDataSourceBuilder(connectionString)
.UsePostGis()
.Build();
var point = BlueTuskGeometry.FromText("SRID=4326;POINT(-0.1276 51.5072)");
await using var command = dataSource.CreateCommand(
"SELECT ST_AsText($1::geometry)");
command.Parameters.Add(new BlueTuskParameter<BlueTuskGeometry>(point));
PostgreSQL must have CREATE EXTENSION postgis applied before the data source
is built. Pass the installation schema to UsePostGis(schema) when needed.
PostGIS remains responsible for parsing, coordinate-system validation,
topology, and spatial algorithms. The BlueTusk values intentionally preserve
opaque EWKB or server-parseable text rather than defining a competing geometry
object model.
Applications that need a rich geometry model and EF spatial queries can add
BlueTusk.Extensions.PostGIS.EntityFrameworkCore. That optional package maps
NetTopologySuite geometries through these lossless codecs without adding a
geometry dependency to BlueTusk core.
This package and the BlueTusk extension SDK use the stable 1.0.0 Provider-family contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- BlueTusk.Data (>= 1.0.0)
- BlueTusk.Extensions.Abstractions (>= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BlueTusk.Extensions.PostGIS:
| Package | Downloads |
|---|---|
|
BlueTusk.Extensions.PostGIS.EntityFrameworkCore
Optional NetTopologySuite type mappings, spatial translations, and migration integration for BlueTusk Entity Framework Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0-rc.1 | 91 | 8/29/2026 |
| 1.0.0 | 124 | 8/23/2026 |