Comments (14)
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.
Npgsql is not the only postgresql provider for .net. Therefore I'd prefer the code to stay here.
from nettopologysuite.io.postgis.
@roji I don't know if anyone uses this library with Devart's dotConnect provider, but they could.
from nettopologysuite.io.postgis.
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.
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.
We use this library over at NHibernate.Spatial for the PostGIS adaptor.
from nettopologysuite.io.postgis.
@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.
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.
@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.
@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.
@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.
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.
@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.
Closing since version 2.0.0 was released. Thanks!
from nettopologysuite.io.postgis.
Related Issues (10)
- Replay relevant changes in develop branch since 2018/02/26
- Add async IO support HOT 1
- Empty polygon representation is rejected by PostgreSQL HOT 7
- Suppress emiting SRID values for multi-geometry children
- Use PackedCoordinateSequenceFactory directly when possible HOT 1
- 2 dimensional coordinates (XY) are converted in 3 dimensions (XYZ) in postgis HOT 19
- Setup build HOT 1
- Update C# style etc? HOT 3
- New ordinate handling behavior HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nettopologysuite.io.postgis.