working with GDAL/OGR library and studying these two slides about geometries and vector data in the OGR library:
I found that a polygon can have an exterior ring and lots of interior rings for an arbitrary format that OGR supports.
But I'm developing a program that will support only ESRI's point, line and polygon shapefiles.
For testing my program, I decided to draw a polygon shapefile in the Arcmap with the Editor that will have ten polygons and each polygon will have different numbers of interior rings.
But as much as I play with the editor trying to create a polygon that has one interior ring ( for example I created two polygons - one inside another - and then merged them together ), I couldn't create such polygon.
So could you tell me :
- How many exterior and interior rings can a polygon have in an ESRI's polygon shapefile ?
- How can I create a polygon that has 1 exterior and 2 interior rings with the editor in Arcmap?