Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

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.

share|improve this answer
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 Apr 29 '13 at 23:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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