Beispiel #1
0
 public void BeginGeometry(OpenGisGeometryType type)
 {
     if (_root)
     {
         _root = false;
         _sink.BeginGeometry(type);
     }
     else
     {
         _types.Enqueue(type);
     }
 }
Beispiel #2
0
 public void BeginGeometry(OpenGisGeometryType type)
 {
     if (type == OpenGisGeometryType.Point || type == OpenGisGeometryType.MultiPoint)
     {
         if (_root)
         {
             _root = false;
             _sink.BeginGeometry(OpenGisGeometryType.GeometryCollection);
             _sink.EndGeometry();
         }
         _depth++;
     }
     else
     {
         _sink.BeginGeometry(type);
     }
 }
 public void BeginGeography(OpenGisGeographyType type)
 {
     // Convert geography to geometry types...
     _target.BeginGeometry((OpenGisGeometryType)type);
 }
 // Just pass through without change.
 public void BeginGeometry(OpenGisGeometryType type)
 {
     _target.BeginGeometry(type);
 }
Beispiel #5
0
 public void BeginGeometry(OpenGisGeometryType type)
 {
     _sink.BeginGeometry(type);
     _insidePolygon = type == OpenGisGeometryType.Polygon;
 }
Beispiel #6
0
 public void BeginGeometry(OpenGisGeometryType type)
 {
     _sink.BeginGeometry(type);
     _insideLineString = type == OpenGisGeometryType.LineString;
 }
Beispiel #7
0
 public void BeginGeometry(OpenGisGeometryType type)
 {
     _sink.BeginGeometry(type);
 }
 public void BeginGeography(OpenGisGeographyType type)
 {
     _sink.BeginGeometry((OpenGisGeometryType)type);
 }
Beispiel #9
0
 void IGeometrySink.BeginGeometry(OpenGisGeometryType type)
 {
     _sink.BeginGeometry(type);
 }