How to detect outer ring in Geography object? RRS feed

  • Question

  • Hi,

    I have a geography object which contains inner rings (holes) in it. I can get all the ring objects (including outer ring) with using RingN and NumRings.

    But how can i detect the outer ring? 

    Since i use google maps to display geography i need to know which Ring is outer and rest are inner rings to draw them correctly.


    Thursday, March 28, 2013 7:09 PM


  • Hello Evren,

    Short answer : the outer ring is always RingN(1) for a polygon instance. Subsequent rings are interior rings.

    Wednesday, April 3, 2013 10:24 AM