/// <inheritdoc />
 public virtual void BeginGeography(OpenGisGeographyType type)
 {
     if (_srid < 0)
     {
         throw new FormatException($"24300: Expected a call to SetSrid, but BeginGeography({type}) was called.");
     }
     _builder.BeginGeo((OGCGeometryType)type);
 }
 /// <summary>
 /// Initializes a call sequence for a geometry type.
 /// </summary>
 /// <param name="type"></param>
 public virtual void BeginGeometry(OpenGisGeometryType type) => _builder.BeginGeo((OGCGeometryType)type);
示例#3
0
 public void BeginGeography(OpenGisGeographyType type) => _builder.BeginGeo((OGCGeometryType)type);