Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

giserver/npgsql-geo-query

Repository files navigation

npgsql-geo-query Migrate to giserver

Nuget Nuget

query geo-data : mvt geobuf geojson from postgresql(with postgis) you can use GeoQuery class ,also interface IGeoQuery ,last AddGeoQuery in IServiceCollection Extension

Usage

dotnet add package Npgisql.GeoQuery

asp net core & dependency injection

builder.Services.AddGeoQuery();

app.UseGeoQuery(app.Configuration.GetConnectionString("Template"), options =>
{
    options.Prefix = "api/geo";
    options.IsConnectionStringTemplate = false;
    options.GeoJsonRouteHandlerOption.Allowed = false;
});

Releases

No releases published

Packages

No packages published

Languages