Git Product home page Git Product logo

Comments (14)

airbreather avatar airbreather commented on September 26, 2024 2

How should we update our NTS driver plugin to support version 2.0 and use it for EFCore.PG 3.0? I have found no preview package version 2.0 of NetTopologySuite.IO.PostGis on NuGet. If you're not going to support it anymore, we will all required stuff in out library.

I'm going through and updating the I/O libraries to v2 now.

from nettopologysuite.io.postgis.

FObermaier avatar FObermaier commented on September 26, 2024 1

Npgsql is not the only postgresql provider for .net. Therefore I'd prefer the code to stay here.

from nettopologysuite.io.postgis.

FObermaier avatar FObermaier commented on September 26, 2024 1

@roji I don't know if anyone uses this library with Devart's dotConnect provider, but they could.

from nettopologysuite.io.postgis.

YohDeadfall avatar YohDeadfall commented on September 26, 2024

When are you going to publish a preview? By the way, who are users of this library? If only Npgsql uses it or there are not so much of them, we could implement all required stuff in our handler directly. Does it make sense?

from nettopologysuite.io.postgis.

airbreather avatar airbreather commented on September 26, 2024

By the way, who are users of this library? If only Npgsql uses it or there are not so much of them, we could implement all required stuff in our handler directly.

@FObermaier any insights on this question? Anything that means we have to maintain less code sounds great to me...

from nettopologysuite.io.postgis.

peetw avatar peetw commented on September 26, 2024

We use this library over at NHibernate.Spatial for the PostGIS adaptor.

from nettopologysuite.io.postgis.

roji avatar roji commented on September 26, 2024

@peetw I'm curious, does that mean that you're not using Npgsql to talk to PostgreSQL, but implement the PostgreSQL wire protocol yourselves?

from nettopologysuite.io.postgis.

airbreather avatar airbreather commented on September 26, 2024

When are you going to publish a preview?

Published: https://www.nuget.org/packages/NetTopologySuite.IO.PostGis/2.0.0-pre001

from nettopologysuite.io.postgis.

peetw avatar peetw commented on September 26, 2024

@roji We use this library to convert GeoAPI/NTS geometries to/from byte arrays (see the FromGeometry and ToGeometry methods here). These are then passed to/from the database via NHibernate and Npgsql. We already have a dependency on Npgsql, so not too fussed whether this code moves there, but keeping it as a separate lib would seem to make more sense to me.

from nettopologysuite.io.postgis.

roji avatar roji commented on September 26, 2024

@peetw hmm, to be sure I understand... Npgsql itself knows how to write geometry types to PostGIS via a plugin, so an application using Npgsql shouldn't need to worry about serialization - the Npgsql plugin does that for them. Are you using Npgsql, but bypassing the plugin in some way, handling serialization yourself?

from nettopologysuite.io.postgis.

peetw avatar peetw commented on September 26, 2024

@roji NHibernate.Spatial is an extension to NHibernate (an ORM) that allows spatial columns to be mapped correctly by NHibernate, for any database type (e.g. MS SQL, MySQL, PostgreSQL, etc.). End users are not using Npgsql directly.

from nettopologysuite.io.postgis.

roji avatar roji commented on September 26, 2024

I understand that, but assuming Npgsql is the one actually talking to PostgreSQL, shouldn't it also be the one to take care of spatial serialization?

from nettopologysuite.io.postgis.

roji avatar roji commented on September 26, 2024

@FObermaier it's definitely not a problem for me if you guys want to keep maintaining this - was mainly trying to understand the situation and possibly propose to reduce your workload.

PS Again out of curiosity, is there another driver using NetTopologySuite.IO.PostGis (e.g. Devart?)

from nettopologysuite.io.postgis.

YohDeadfall avatar YohDeadfall commented on September 26, 2024

Closing since version 2.0.0 was released. Thanks!

from nettopologysuite.io.postgis.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.