[fdo-users] Unsupported Geometry types

user12 danweaver12 at gmail.com
Wed Sep 12 05:22:36 PDT 2018


Hello, I'm a C# developer working on a mapping application using ThinkGeo's
.NET libraries. I load in tables from .mdb files and display the geometries
on the map. Two particular tables have been throwing errors, and ThinkGeo
keeps pointing me to this forum to ask for help. 

The two tables in particular contain polylines, and lines respectively.
ThinkGeo told me the geometry entry doesn't abide by the wkt standard.
Here's an example of a linestring that is throwing the error:

“LINESTRING XYZ (-70.7502181866444 43.0795118096002 -0.070901098504986,
-70.7501075845634 43.0793679202859 -0.068659340275752, -70.7501320749463
43.0791989695718 -0.055076922769217, -70.750216298381 43.0791176119038
-0.041010988781867)”.

The polylines look similar.

I traced the error in the code to this line in ThinkGeo's code:
geometryFactory.GetWkb(geometryFromFgf)
This is calling the GetWkb function in the FgfGeometryFactory class located
in the OSGeo.FDO.Geometry library.

Any suggestions as to why this geometry can't be read by FDO and how to fix
it would be great! Thanks.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/FDO-Users-f3898664.html


More information about the fdo-users mailing list