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.

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems).

Using the IWkb interface I can obtain the WKB, but it comes out as a PolyLine with 2 points - both exactly the same. I've hand parsed the WKB to confirm this is what ArcObjects is returning.

Are there any ways to get ArcObjects to export circles as WKB and maintain the circle? e.g. as a CircularString or similar.

I'm using ArcObjects 9.3.

share|improve this question
add comment

1 Answer

Circles may be represented as curves internally, which WKB doesn't do. You probably need to Densify it first.

share|improve this answer
1  
WKB does have support for curves, perhaps it was added in a later version. I can't find the actual spec, but wikipedia lists geometry types for circles and curves, and it appears SQL Server 2012 at least supports these (I haven't checked anything else). –  Richard Mason Oct 12 '12 at 1:40
    
WKB does support curves--it's the GeometryEnvironment WKB methods that don't support curves. –  Jay Cummins Apr 14 at 16:59
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.