Access ArcSDE table with SDE.ST_GEOMETRY columns

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
chkaufmann
Posts: 82
Joined: Sat 01 Jul 2006 11:42

Access ArcSDE table with SDE.ST_GEOMETRY columns

Post by chkaufmann » Mon 02 Apr 2012 07:42

I need to read data from an Oracle ArcSDE database with UniDac. In the table I have a column of type SDE.ST_GEOMETRY.

If I execute a statement like "select * from MYTABLE", then I get a "Data type not supported" error. I can run a statement like "select ST_ASTEXT(SHAPE) from MYTABLE". But before doing that I need to know the type of the column.

How can I do this with UniDac?

cu Christian

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 02 Apr 2012 14:27

Hello,

Presently, UniDAC doesn't support such data types. We will review the possibility of support of such types in future.

MJS
Posts: 6
Joined: Wed 28 Mar 2012 16:09

Post by MJS » Mon 02 Apr 2012 22:59

I've successfully used UniDac on an Oracle table with an SDO_GEOMETRY column using this syntax:


select t.shape.get_wkt() from MYTABLE t


Not sure it will work with ArcSDE though.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 03 Apr 2012 10:55

Hello,

The SDO_GEOMETRY type is supported by standard Oracle servers, and the ST_GEOMETRY type - only by specialized Gis-servers, therefore the given type is not implemented in the Oracle provider of UniDAC

Post Reply