[fdo-users] ArcSde provider unsupported geometry type

Giorgos Papadakis gpapadak at ims.forth.gr
Sun Feb 7 16:31:32 EST 2010


I use ArcSde provider with an sql server. I do a selection without 
filter. When i get geometry from the reader i get this

             gfGeometryFactory gf = new FgfGeometryFactory();
             while (FDOReader.ReadNext())
             {
                 OSGeo.FDO.Geometry.IGeometry geo = 
gf.CreateGeometryFromFgf(FDOReader.GetGeometry("Shape"));
                 Console.WriteLine(geo.Text);
             }


POLYGON XYZM ((501860.8199 3929957.1002 0 1.#QNAN, 501850.3172 
3929955.6663 0 1.#QNAN, 501850.8438 3929950.1417 0 1.#QNAN, 501851.9399 
3929950.4401 0 1.#QNAN, 501854.0298 3929942.1201 0 1.#QNAN, 501853.1499 
3929941.9598 0 1.#QNAN, 501851.9923 3929941.7494 0 1.#QNAN, 501852.12 
3929941.2002 0 1.#QNAN, 501853.3001 3929936.0502 0 1.#QNAN, 501854.2598 
3929931.8902 0 1.#QNAN, 501854.6032 3929930.3446 0 1.#QNAN, 501854.75 
3929929.4598 0 1.#QNAN, 501855.5646 3929926.0507 0 1.#QNAN, 501855.9903 
3929924.2691 0 1.#QNAN, 501855.5101 3929924.15 0 1.#QNAN, 501856.2839 
3929920.4192 0 1.#QNAN, 501857.532 3929914.6529 0 1.#QNAN, 501866.2605 
3929917.1552 0 1.#QNAN, 501872.3597 3929918.282 0 1.#QNAN, 501876.8415 
3929919.11 0 1.#QNAN, 501884.3301 3929920.42 0 1.#QNAN, 501882.0699 
3929928.5699 0 1.#QNAN, 501881.2224 3929928.3248 0 1.#QNAN, 501879.598 
3929935.5392 0 1.#QNAN, 501874.8265 3929933.8078 0 1.#QNAN, 501874.6567 
3929936.265 0 1.#QNAN, 501874.5801 3929936.9198 0 1.#QNAN, 501874.0175 
3929945.4127 0 1.#QNAN, 501873.4515 3929950.6319 0 1.#QNAN, 501872.7001 
3929954.7599 0 1.#QNAN, 501872.3597 3929954.7149 0 1.#QNAN, 501861.1304 
3929953.2299 0 1.#QNAN, 501860.8199 3929957.1002 0 1.#QNAN))


and if i do this

gf.GetWkb(geo); then i get exception error unsupported geometry type.
What should i do in order to make it work.

xterm




More information about the fdo-users mailing list