I'm trying to use your provider with postgis, I've read all the documentation and followed every step I found, but I'm not able to make it works.
I'm using POCO object for some MyTable which has column GisPoint created as
Code: Select all
ALTER TABLE "MyTable " ADD COLUMN "GisPoint" geometry(POINT,4326);
Code: Select all
public DbGeography GisPoint { get; set; }
Code: Select all
PgSqlEntityProviderConfig config = PgSqlEntityProviderConfig.Instance;
config.SpatialOptions.SpatialServiceType = SpatialServiceType.NetTopologySuite;
Code: Select all
GisPoint = DbGeography.PointFromText(string.Format("POINT({0} {1})", response.NmeaRmcMessage.Longitude, response.NmeaRmcMessage.Latitude), 4326)
NetTopologySuite is v. 1.13.0.0"NetTopologySuite spatial service provider value checking failed. Unexpected provider value type 'Microsoft.SqlServer.Types.SqlGeography'."
Postgis 2.0
Please advise where I should dig further?