Following How many interior and exterior rings can a polygon have in a standard ArcGIS shapefile?, can I have a mixture of two kinds of geometry in a shapefile of type point. Just like I have about shapefiles of type polygon or I should always create a shapefile of type multipoint in order to support multipoints in my layer?
My problem is as you see at How can I use ogrinfo to reach information about a .shp?, I can't use
ogrinfo in order to understand that the geometry type of a multipoint shapefile will be known as
wkbPointwhen I use this line of code:
OGRwkbGeometryType GeometryType = poLayer ->GetGeomType();
for a layer of type
multipoint before programming.
- Will OGR know a layer of type
- When we create a shapefile in ArcCatalog, we have point and multipoint, but not multipolyline or multipolygon for polyline and polygon.Why?