The DbGeopgaphy type does not support to access to the individual rings of a singe polygon having holes. Please add support to access the inner rings defining the holes via the ExteriorRing InteriorRingCount and InteriorRingAt members, like it works for DbGeometry already.<br /><br />I don't understand why this is working for DbGeometry but not for DbGeography. In the SqlGeography class it works just fine, so I am forced to use the ProviderValue and SqlServer.Types assembly as a workaround which creates an unnecessary dependency in the project.<br /><br />The DbSpatialServices class already offers these features so I think it would only mead adding a few lines to the DbGeography class.
↧