1

In the system I'm building, we've got a facility that can be represented as either a point, or a point within a polygon (the point in the polygon may or may not be the polygon's centroid).

I'm using Oracle/ArcSDE with the ST_Geometry storage type. Is it possible to store both point and polygon data for a single feature? Or does each require its own record?

1 Answer 1

2

If I understand correctly.
SDE reads from the geometrytype column, which can only have these values, and one value per object.

The only workaround (within the esri realm) is to create views for each geometry column and register sde feature class (9.3 example).
Now that I look at it this may be another workaround.
That is if you want to use wkb as your geometry.

1
  • 1
    Storing as WKB would mean no spatial index. Multiple records, or multiple columns, would allow the shapes to be indexed. If the point and poly had to be contained in one object, it isn't hard to create a UDT with two attributes. Then the attributes could be indexed.
    – travis
    Commented Apr 29, 2013 at 23:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.