Exemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of a PointShapefile for in-ram handling only.
 /// </summary>
 public PointShapefile() : base(FeatureTypes.Point)
 {
     Attributes = new AttributeTable();
     Header = new ShapefileHeader();
     Header.FileLength = 100;
     Header.ShapeType = ShapeTypes.Point;
  
 }
 /// <summary>
 /// Creates a new instance of a PolygonShapefile for in-ram handling only.
 /// </summary>
 public PolygonShapefile():base(FeatureTypes.Polygon)
 {
     Attributes = new AttributeTable();
     Header = new ShapefileHeader();
     Header.FileLength = 100;
     Header.ShapeType = ShapeTypes.Polygon;
     FeatureType = FeatureTypes.Polygon;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of a LineShapefile for in-ram handling only.
 /// </summary>
 public LineShapefile()
 {
     Attributes = new AttributeTable();
     Header = new ShapefileHeader();
     Header.FileLength = 100;
     Header.ShapeType = ShapeTypes.PolyLine;
     FeatureType = FeatureTypes.Line;
 }
        /// <summary>
        /// Creates a new instance of a MultiPointShapefile for in-ram handling only.
        /// </summary>
        public MultiPointShapefile():base(FeatureTypes.MultiPoint)
        {
            _geometryFactory = new GeometryFactory();
            Attributes = new AttributeTable();
            Header = new ShapefileHeader();
            Header.FileLength = 100;
            Header.ShapeType = ShapeTypes.MultiPoint;

        }
Exemplo n.º 5
0
 private void Configure()
 {
     Attributes = new AttributeTable();
     _header = new ShapefileHeader();
     IndexMode = true;
 }