can't read/write PointZ geometry
Posted: Wed 20 Apr 2016 07:56
Hi guys,
i have a "small" problem, reading and writing PointZ geometries into a postgres-DB using linq.
Several weeks ago i had the problem with the normal Point geometrie, but after i read this thread it worked fine for me.
But now i have PointZ geometries.
If i want to read them i got an "GeoAPI.IO.ParseException". It looks like, that there is a problem with the NetTopologySuite.IO.WKTReader!
If i want to write them to the database, allways the Z-Value /elevation will be droped!
I tested with Postgres 9.4 with Postgis 1.5 (standard) and 2.0, with dotconnect 7.4.616, GeoAPI 1.7.4 and NetTopologySuite 1.4.0. I used VS 2013 with EF5.
Does someone know, what is wrong?
Many thanks,
Mario
i have a "small" problem, reading and writing PointZ geometries into a postgres-DB using linq.
Several weeks ago i had the problem with the normal Point geometrie, but after i read this thread it worked fine for me.
But now i have PointZ geometries.
If i want to read them i got an "GeoAPI.IO.ParseException". It looks like, that there is a problem with the NetTopologySuite.IO.WKTReader!
If i want to write them to the database, allways the Z-Value /elevation will be droped!
I tested with Postgres 9.4 with Postgis 1.5 (standard) and 2.0, with dotconnect 7.4.616, GeoAPI 1.7.4 and NetTopologySuite 1.4.0. I used VS 2013 with EF5.
Does someone know, what is wrong?
Many thanks,
Mario